aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_download_recursive.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-30 22:42:04 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-30 22:42:04 +0000
commit416c2f5a713b93ba689a8cd1e038682a53e6bc17 (patch)
tree987f51d9edfddc02afe1524df5e1156b920c71d4 /src/fs/test_fs_download_recursive.c
parentfceec98e767bce7ad2c24dde73cdcf8837e04013 (diff)
downloadgnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.tar.gz
gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.zip
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/fs/test_fs_download_recursive.c')
-rw-r--r--src/fs/test_fs_download_recursive.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/fs/test_fs_download_recursive.c b/src/fs/test_fs_download_recursive.c
index cede523ec..29d15c492 100644
--- a/src/fs/test_fs_download_recursive.c
+++ b/src/fs/test_fs_download_recursive.c
@@ -213,14 +213,14 @@ eventCallback (void *cls, const GNUNET_FSUI_Event * event)
213#endif 213#endif
214 break; 214 break;
215 case GNUNET_FSUI_unindex_error: 215 case GNUNET_FSUI_unindex_error:
216 fprintf (stderr, "Error unindexing: %s\n", 216 FPRINTF (stderr, "Error unindexing: %s\n",
217 event->data.UnindexError.message); 217 event->data.UnindexError.message);
218 break; 218 break;
219 case GNUNET_FSUI_upload_error: 219 case GNUNET_FSUI_upload_error:
220 fprintf (stderr, "Error uploading: %s\n", event->data.UploadError.message); 220 FPRINTF (stderr, "Error uploading: %s\n", event->data.UploadError.message);
221 break; 221 break;
222 case GNUNET_FSUI_download_error: 222 case GNUNET_FSUI_download_error:
223 fprintf (stderr, "Error downloading: %s\n", 223 FPRINTF (stderr, "Error downloading: %s\n",
224 event->data.DownloadError.message); 224 event->data.DownloadError.message);
225 break; 225 break;
226 case GNUNET_FSUI_download_aborted: 226 case GNUNET_FSUI_download_aborted:
@@ -277,7 +277,7 @@ main (int argc, char *argv[])
277 GNUNET_GC_free (cfg); 277 GNUNET_GC_free (cfg);
278 return -1; 278 return -1;
279 } 279 }
280 fprintf (stderr, "Setup...\n"); 280 FPRINTF (stderr, "%s", "Setup...\n");
281#if START_DAEMON 281#if START_DAEMON
282 GNUNET_disk_directory_remove (NULL, 282 GNUNET_disk_directory_remove (NULL,
283 "/tmp/gnunet-fsui-recursive_download_test/"); 283 "/tmp/gnunet-fsui-recursive_download_test/");
@@ -297,7 +297,7 @@ main (int argc, char *argv[])
297 kuri = 297 kuri =
298 GNUNET_ECRS_keyword_command_line_to_uri (ectx, 2, 298 GNUNET_ECRS_keyword_command_line_to_uri (ectx, 2,
299 (const char **) keywords); 299 (const char **) keywords);
300 fprintf (stderr, "Uploading...\n"); 300 FPRINTF (stderr, "%s", "Uploading...\n");
301 waitForEvent = GNUNET_FSUI_upload_completed; 301 waitForEvent = GNUNET_FSUI_upload_completed;
302 upload = 302 upload =
303 GNUNET_FSUI_upload_start (ctx, fn, 303 GNUNET_FSUI_upload_start (ctx, fn,
@@ -322,7 +322,7 @@ main (int argc, char *argv[])
322 upload = NULL; 322 upload = NULL;
323 CHECK (upURI != NULL); 323 CHECK (upURI != NULL);
324 324
325 fprintf (stderr, "Downloading...\n"); 325 FPRINTF (stderr, "%s", "Downloading...\n");
326 waitForEvent = GNUNET_FSUI_download_completed; 326 waitForEvent = GNUNET_FSUI_download_completed;
327 fn43 = makeName (43); 327 fn43 = makeName (43);
328 download = 328 download =
@@ -341,7 +341,7 @@ main (int argc, char *argv[])
341 break; 341 break;
342 } 342 }
343FAILURE: 343FAILURE:
344 fprintf (stderr, "Cleanup...\n"); 344 FPRINTF (stderr, "%s", "Cleanup...\n");
345 if (meta != NULL) 345 if (meta != NULL)
346 GNUNET_meta_data_destroy (meta); 346 GNUNET_meta_data_destroy (meta);
347 if (ctx != NULL) 347 if (ctx != NULL)