summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-02-05 13:32:45 -0800
committerBen Straub <bs@github.com>2014-02-05 13:32:45 -0800
commit5c8be3255905f77d60a239381d9ce39a6934a038 (patch)
tree920cfb3549547bc0886077f7e08ad64e2cca7f23 /examples
parent0de2c4e3a3cb63a2af66c464585d0e9ae273ddee (diff)
downloadlibgit2-5c8be3255905f77d60a239381d9ce39a6934a038.tar.gz
Fix a few references to changed function signatures
Diffstat (limited to 'examples')
-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 474b45bbb..ad16f2793 100644
--- a/examples/network/fetch.c
+++ b/examples/network/fetch.c
@@ -156,7 +156,7 @@ int fetch(git_repository *repo, int argc, char **argv)
// right commits. This may be needed even if there was no packfile
// to download, which can happen e.g. when the branches have been
// changed but all the neede objects are available locally.
- if (git_remote_update_tips(remote) < 0)
+ if (git_remote_update_tips(remote, NULL, NULL) < 0)
return -1;
git_remote_free(remote);