diff options
Diffstat (limited to 'src/fetch.c')
-rw-r--r-- | src/fetch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fetch.c b/src/fetch.c index dc01f6791..242946356 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -302,7 +302,7 @@ on_error: return error; } -int git_fetch_download_pack(git_remote *remote, git_off_t *bytes, git_indexer_stats *stats) +int git_fetch_download_pack(git_remote *remote, git_off_t *bytes) { git_transport *t = remote->transport; @@ -310,9 +310,9 @@ int git_fetch_download_pack(git_remote *remote, git_off_t *bytes, git_indexer_st return 0; if (t->own_logic) - return t->download_pack(t, remote->repo, bytes, stats); + return t->download_pack(t, remote->repo, bytes, &remote->stats); - return git_fetch__download_pack(t, remote->repo, bytes, stats); + return git_fetch__download_pack(t, remote->repo, bytes, &remote->stats); } |