diff options
author | Jacques Germishuys <jacquesg@striata.com> | 2014-04-21 11:23:29 +0200 |
---|---|---|
committer | Jacques Germishuys <jacquesg@striata.com> | 2014-04-21 11:28:49 +0200 |
commit | 48e60ae75e78bc58aeb3c7ecf6be4653152182f4 (patch) | |
tree | 87c8911d80712458e49565c9250aa5e84e085060 /examples | |
parent | 98020d3a73743d79c6acd380339b1d743205a86b (diff) | |
download | libgit2-48e60ae75e78bc58aeb3c7ecf6be4653152182f4.tar.gz |
Don't redefine the same callback types, their signatures may change
Diffstat (limited to 'examples')
-rw-r--r-- | examples/network/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/fetch.c b/examples/network/fetch.c index fdd82a1f7..03f1541a4 100644 --- a/examples/network/fetch.c +++ b/examples/network/fetch.c @@ -97,7 +97,7 @@ int fetch(git_repository *repo, int argc, char **argv) // Set up the callbacks (only update_tips for now) callbacks.update_tips = &update_cb; - callbacks.progress = &progress_cb; + callbacks.sideband_progress = &progress_cb; callbacks.credentials = cred_acquire_cb; git_remote_set_callbacks(remote, &callbacks); |