diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-23 15:45:29 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-23 15:45:29 +0200 |
| commit | 5cb136705d7db2822357582d5b726c91ca044b24 (patch) | |
| tree | 8e8e7a3a55169266e7eaf6f5034c68aebe1c3951 /include/git2/transport.h | |
| parent | 1c74686e05c41c30944173bacec3a8312f08cbb5 (diff) | |
| download | libgit2-5cb136705d7db2822357582d5b726c91ca044b24.tar.gz | |
transport: let the progress output return an error
There are any number of issues that can come up in the progress
callback, and we should let the user cancel at that point as well.
Diffstat (limited to 'include/git2/transport.h')
| -rw-r--r-- | include/git2/transport.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
