summaryrefslogtreecommitdiff
path: root/tests/network/fetchlocal.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-10-10 18:03:09 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-10-10 18:03:09 +0200
commit942a7b39edad519748456ddce97cf77a93c9babc (patch)
tree74e64a9b3b6e4363e71937480f94f1f57f801c16 /tests/network/fetchlocal.c
parent4c0c001529426771d6a208af317df19d08d86434 (diff)
downloadlibgit2-942a7b39edad519748456ddce97cf77a93c9babc.tar.gz
Fix test build
Some PRs have fallen out of sync with the changes in signatures, so we need to take a few extra parameters into account.
Diffstat (limited to 'tests/network/fetchlocal.c')
-rw-r--r--tests/network/fetchlocal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/network/fetchlocal.c b/tests/network/fetchlocal.c
index fb266f377..eb9a1087a 100644
--- a/tests/network/fetchlocal.c
+++ b/tests/network/fetchlocal.c
@@ -140,7 +140,7 @@ void test_network_fetchlocal__multi_remotes(void)
cl_git_pass(git_remote_set_url(test, cl_git_fixture_url("testrepo.git")));
git_remote_set_callbacks(test, &callbacks);
cl_git_pass(git_remote_connect(test, GIT_DIRECTION_FETCH));
- cl_git_pass(git_remote_download(test));
+ cl_git_pass(git_remote_download(test, NULL));
cl_git_pass(git_remote_update_tips(test, NULL, NULL));
cl_git_pass(git_reference_list(&refnames, repo));
@@ -150,7 +150,7 @@ void test_network_fetchlocal__multi_remotes(void)
cl_git_pass(git_remote_set_url(test2, cl_git_fixture_url("testrepo.git")));
git_remote_set_callbacks(test2, &callbacks);
cl_git_pass(git_remote_connect(test2, GIT_DIRECTION_FETCH));
- cl_git_pass(git_remote_download(test2));
+ cl_git_pass(git_remote_download(test2, NULL));
cl_git_pass(git_remote_update_tips(test2, NULL, NULL));
cl_git_pass(git_reference_list(&refnames, repo));