summaryrefslogtreecommitdiff
path: root/examples/network/clone.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-01-31 10:44:57 -0800
committerBen Straub <bs@github.com>2013-01-31 10:44:57 -0800
commit7602cb7c0ea0d69efd30640af234be20393bf57c (patch)
tree35fb50d5a1e118990f3f1f11b670371febae537c /examples/network/clone.c
parent2234b2b03153c03fc6d502dd61ae55e659be4b8b (diff)
downloadlibgit2-7602cb7c0ea0d69efd30640af234be20393bf57c.tar.gz
Add user-from-url param to auth callback
Diffstat (limited to 'examples/network/clone.c')
-rw-r--r--examples/network/clone.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/network/clone.c b/examples/network/clone.c
index 63072eea0..5b0a81073 100644
--- a/examples/network/clone.c
+++ b/examples/network/clone.c
@@ -61,6 +61,7 @@ static void checkout_progress(const char *path, size_t cur, size_t tot, void *pa
static int cred_acquire(git_cred **out,
const char * UNUSED(url),
+ const char * UNUSED(username_from_url),
unsigned int UNUSED(allowed_types),
void * UNUSED(payload))
{