summaryrefslogtreecommitdiff
path: root/examples/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fetch.c')
-rw-r--r--examples/fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/fetch.c b/examples/fetch.c
index 1df373e38..7f8e2317f 100644
--- a/examples/fetch.c
+++ b/examples/fetch.c
@@ -38,7 +38,7 @@ static int update_cb(const char *refname, const git_oid *a, const git_oid *b, vo
* data. Most frontends will probably want to show a percentage and
* the download rate.
*/
-static int transfer_progress_cb(const git_transfer_progress *stats, void *payload)
+static int transfer_progress_cb(const git_indexer_progress *stats, void *payload)
{
(void)payload;
@@ -57,7 +57,7 @@ static int transfer_progress_cb(const git_transfer_progress *stats, void *payloa
int lg2_fetch(git_repository *repo, int argc, char **argv)
{
git_remote *remote = NULL;
- const git_transfer_progress *stats;
+ const git_indexer_progress *stats;
git_fetch_options fetch_opts = GIT_FETCH_OPTIONS_INIT;
if (argc < 2) {