aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-search.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
commit16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch)
treee09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/fs/gnunet-search.c
parent4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff)
downloadgnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz
gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/fs/gnunet-search.c')
-rw-r--r--src/fs/gnunet-search.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/gnunet-search.c b/src/fs/gnunet-search.c
index c82a0794c..eb5345833 100644
--- a/src/fs/gnunet-search.c
+++ b/src/fs/gnunet-search.c
@@ -150,8 +150,8 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info)
150 uri = GNUNET_FS_uri_to_string (info->value.search.specifics.result.uri); 150 uri = GNUNET_FS_uri_to_string (info->value.search.specifics.result.uri);
151 printf ("#%u:\n", cnt++); 151 printf ("#%u:\n", cnt++);
152 filename = 152 filename =
153 GNUNET_CONTAINER_meta_data_get_by_type (info->value.search.specifics. 153 GNUNET_CONTAINER_meta_data_get_by_type (info->value.search.
154 result.meta, 154 specifics.result.meta,
155 EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME); 155 EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME);
156 if (filename != NULL) 156 if (filename != NULL)
157 { 157 {
@@ -162,8 +162,8 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info)
162 else 162 else
163 printf ("gnunet-download %s\n", uri); 163 printf ("gnunet-download %s\n", uri);
164 if (verbose) 164 if (verbose)
165 GNUNET_CONTAINER_meta_data_iterate (info->value.search.specifics.result. 165 GNUNET_CONTAINER_meta_data_iterate (info->value.search.specifics.
166 meta, &item_printer, NULL); 166 result.meta, &item_printer, NULL);
167 printf ("\n"); 167 printf ("\n");
168 fflush (stdout); 168 fflush (stdout);
169 GNUNET_free_non_null (filename); 169 GNUNET_free_non_null (filename);