summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Burke <spraints@gmail.com>2015-09-08 14:15:29 -0400
committerMatt Burke <spraints@gmail.com>2015-09-08 14:15:29 -0400
commit5d7cd57f9950fca5c60176c5b5a3673358386a05 (patch)
treeb2298450de9179b7291703aab40a8a36aa1c357a
parent80ee25434d076b87d1a34e2dee467600013ae4ee (diff)
downloadlibgit2-5d7cd57f9950fca5c60176c5b5a3673358386a05.tar.gz
Update another call to git_remote_connect
-rw-r--r--examples/network/ls-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/ls-remote.c b/examples/network/ls-remote.c
index 21026562f..c9da79f5f 100644
--- a/examples/network/ls-remote.c
+++ b/examples/network/ls-remote.c
@@ -26,7 +26,7 @@ static int use_remote(git_repository *repo, char *name)
*/
callbacks.credentials = cred_acquire_cb;
- error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks);
+ error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL);
if (error < 0)
goto cleanup;