summaryrefslogtreecommitdiff
path: root/examples/network/ls-remote.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-01-02 12:44:47 -0800
committerBen Straub <bs@github.com>2013-01-02 12:44:47 -0800
commit0642c1431eccdf7aef496c0dc6d64805c513db53 (patch)
treec9471e1cc2f0540b0c4b0621d48fa323e683b008 /examples/network/ls-remote.c
parent3de2256708a206bc01bca0fe418b8448d1b41855 (diff)
downloadlibgit2-0642c1431eccdf7aef496c0dc6d64805c513db53.tar.gz
Move `url` to last place in parameter list
Diffstat (limited to 'examples/network/ls-remote.c')
-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 a3eb01589..737eeacd3 100644
--- a/examples/network/ls-remote.c
+++ b/examples/network/ls-remote.c
@@ -21,7 +21,7 @@ static int use_unnamed(git_repository *repo, const char *url)
// Create an instance of a remote from the URL. The transport to use
// is detected from the URL
- error = git_remote_create_inmemory(&remote, repo, url, NULL);
+ error = git_remote_create_inmemory(&remote, repo, NULL, url);
if (error < 0)
goto cleanup;