fix #5107
authorChristian Grothoff <christian@grothoff.org>
Tue, 18 Jul 2017 20:59:39 +0000 (22:59 +0200)
committerChristian Grothoff <christian@grothoff.org>
Tue, 18 Jul 2017 20:59:39 +0000 (22:59 +0200)
src/fs/gnunet-search.c

index ef17434367a6b65eba0a28fb353175b97d641846..89811669f8516afbb52d111089ad7c51baa810dd 100644 (file)
@@ -164,7 +164,7 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info)
                                        info->value.search.specifics.result.meta,
                                        NULL);
     uri = GNUNET_FS_uri_to_string (info->value.search.specifics.result.uri);
-    printf ("#%u:\n", cnt++);
+    printf ("#%u:\n", ++cnt);
     filename =
         GNUNET_CONTAINER_meta_data_get_by_type (info->value.search.
                                                 specifics.result.meta,