diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-09-16 04:20:05 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-02 06:41:42 +0200 |
commit | d31402a3fc4aa1b7d48ba43fd3bb072e7d69a527 (patch) | |
tree | cc8eb1e1801c98c25349951d6cd3667d94d9ea19 /examples/network/fetch.c | |
parent | 71e33d2649f990086237a6cd0fdb7f7d6f742b51 (diff) | |
download | libgit2-d31402a3fc4aa1b7d48ba43fd3bb072e7d69a527.tar.gz |
remote: put the _download() callback with the others
The text progress and update_tips callbacks are already part of the
struct, which was meant to unify the callback setup, but the download
one was left out.
Diffstat (limited to 'examples/network/fetch.c')
-rw-r--r-- | examples/network/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/fetch.c b/examples/network/fetch.c index ce016ce0b..1de223373 100644 --- a/examples/network/fetch.c +++ b/examples/network/fetch.c @@ -35,7 +35,7 @@ static void *download(void *ptr) // Download the packfile and index it. This function updates the // amount of received data and the indexer stats which lets you // inform the user about progress. - if (git_remote_download(data->remote, NULL, NULL) < 0) { + if (git_remote_download(data->remote) < 0) { data->ret = -1; goto exit; } |