summaryrefslogtreecommitdiff
path: root/examples/network
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-10-09 10:41:38 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2014-10-09 10:41:38 -0400
commit8be28acfcd26b66275abe225700b24c838bbfd69 (patch)
tree9a293eca108b6c08fe986057ae3a06dbbf110936 /examples/network
parent8bd747cfb4e6223490a71a0f3beecbed1a1a344a (diff)
parentc5837cad85c2730d30cd3c8b1018bd392ca8115a (diff)
downloadlibgit2-8be28acfcd26b66275abe225700b24c838bbfd69.tar.gz
Merge pull request #2462 from libgit2/cmn/remote-fetch-refs
Implement opportunistic ref updates
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/fetch.c b/examples/network/fetch.c
index 8d882095b..ab78fc9bd 100644
--- a/examples/network/fetch.c
+++ b/examples/network/fetch.c
@@ -36,7 +36,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) < 0) {
+ if (git_remote_download(data->remote, NULL) < 0) {
data->ret = -1;
goto exit;
}