diff options
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/remote.h | 2 | ||||
| -rw-r--r-- | include/git2/transport.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 9858634cc..f4cd1cbfa 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -410,7 +410,7 @@ struct git_remote_callbacks { * progress side-band will be passed to this function (this is * the 'counting objects' output. */ - void (*progress)(const char *str, int len, void *data); + int (*progress)(const char *str, int len, void *data); /** * Completion is called when different parts of the download diff --git a/include/git2/transport.h b/include/git2/transport.h index 065b31820..b9fda80ba 100644 --- a/include/git2/transport.h +++ b/include/git2/transport.h @@ -170,7 +170,7 @@ typedef enum { GIT_TRANSPORTFLAGS_NO_CHECK_CERT = 1 } git_transport_flags_t; -typedef void (*git_transport_message_cb)(const char *str, int len, void *data); +typedef int (*git_transport_message_cb)(const char *str, int len, void *data); typedef struct git_transport git_transport; |
