summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-04-19 19:48:52 -0400
committerEdward Thomson <ethomson@github.com>2016-04-19 19:48:52 -0400
commit1dc449105b329ea4f8ea9982bc2da869d231c04a (patch)
tree3dede94adc9297468b3f5b2294b300b028a0b34f /examples
parent95fbc81dafd64400d51637a27ecd49de5ea63145 (diff)
parent2638df771172a18dc5da89f039076fcc05ceb4ac (diff)
downloadlibgit2-1dc449105b329ea4f8ea9982bc2da869d231c04a.tar.gz
Merge pull request #3110 from libgit2/cmn/proxy-config
Proxy configuration
Diffstat (limited to 'examples')
-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 c9da79f5f..9329da5d9 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, NULL);
+ error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL, NULL);
if (error < 0)
goto cleanup;