diff options
| author | Ben Straub <bs@github.com> | 2012-11-29 20:01:24 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2012-11-30 13:12:15 -0800 |
| commit | 9267ff586f29deb99f41ab6eeb0599917ddd0cec (patch) | |
| tree | 1626640207165137242ab55ca655e77caf98883f /include/git2/remote.h | |
| parent | 55f6f21b7dd5a177e2cc60c1054b438c05ed8f14 (diff) | |
| download | libgit2-9267ff586f29deb99f41ab6eeb0599917ddd0cec.tar.gz | |
Deploy GIT_REMOTE_CALLBACKS_INIT
Diffstat (limited to 'include/git2/remote.h')
| -rw-r--r-- | include/git2/remote.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index e5b60b951..3e22004a1 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -356,8 +356,9 @@ struct git_remote_callbacks { * * @param remote the remote to configure * @param callbacks a pointer to the user's callback settings + * @return 0 or an error code */ -GIT_EXTERN(void) git_remote_set_callbacks(git_remote *remote, git_remote_callbacks *callbacks); +GIT_EXTERN(int) git_remote_set_callbacks(git_remote *remote, git_remote_callbacks *callbacks); /** * Get the statistics structure that is filled in by the fetch operation. |
