diff options
author | Ben Straub <bs@github.com> | 2012-10-17 14:06:32 -0700 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-10-19 19:36:22 -0700 |
commit | 7635a1188a963f2fd7136a957ab9ab65baeff866 (patch) | |
tree | ee9d25b8fcf8a9fb010fd25c35f931db8695d794 /examples/network/fetch.c | |
parent | 216863c48fd05b08e9b0083d61dcb163a2add62a (diff) | |
download | libgit2-7635a1188a963f2fd7136a957ab9ab65baeff866.tar.gz |
Fix example compilation
Diffstat (limited to 'examples/network/fetch.c')
-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 6c342be96..f7b2fd9de 100644 --- a/examples/network/fetch.c +++ b/examples/network/fetch.c @@ -34,7 +34,7 @@ static void *download(void *ptr) // Download the packfile and index it. This function updates the // amount of received data and the indexer stats which lets you // inform the user about progress. - if (git_remote_download(data->remote, data->bytes) < 0) { + if (git_remote_download(data->remote, data->bytes, NULL, NULL) < 0) { data->ret = -1; goto exit; } |