Commit 5d7cd57f9950fca5c60176c5b5a3673358386a05

Matt Burke 2015-09-08T14:15:29

Update another call to git_remote_connect

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/examples/network/ls-remote.c b/examples/network/ls-remote.c
index 2102656..c9da79f 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;