diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:42:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:42:04 +0000 |
commit | 416c2f5a713b93ba689a8cd1e038682a53e6bc17 (patch) | |
tree | 987f51d9edfddc02afe1524df5e1156b920c71d4 /src/fs/test_fs_publish.c | |
parent | fceec98e767bce7ad2c24dde73cdcf8837e04013 (diff) | |
download | gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.tar.gz gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.zip |
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/fs/test_fs_publish.c')
-rw-r--r-- | src/fs/test_fs_publish.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/test_fs_publish.c b/src/fs/test_fs_publish.c index 81ec3dd7f..051b84f68 100644 --- a/src/fs/test_fs_publish.c +++ b/src/fs/test_fs_publish.c | |||
@@ -118,12 +118,12 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *event) | |||
118 | break; | 118 | break; |
119 | case GNUNET_FS_STATUS_PUBLISH_ERROR: | 119 | case GNUNET_FS_STATUS_PUBLISH_ERROR: |
120 | ret = event->value.publish.cctx; | 120 | ret = event->value.publish.cctx; |
121 | fprintf (stderr, "Error publishing file: %s\n", | 121 | FPRINTF (stderr, "Error publishing file: %s\n", |
122 | event->value.publish.specifics.error.message); | 122 | event->value.publish.specifics.error.message); |
123 | err = 1; | 123 | err = 1; |
124 | if (0 == strcmp ("publish-context-dir", event->value.publish.cctx)) | 124 | if (0 == strcmp ("publish-context-dir", event->value.publish.cctx)) |
125 | { | 125 | { |
126 | fprintf (stderr, "Scheduling abort task for error on `%s'\n", | 126 | FPRINTF (stderr, "Scheduling abort task for error on `%s'\n", |
127 | (const char *) event->value.publish.cctx); | 127 | (const char *) event->value.publish.cctx); |
128 | GNUNET_SCHEDULER_add_continuation (&abort_publish_task, NULL, | 128 | GNUNET_SCHEDULER_add_continuation (&abort_publish_task, NULL, |
129 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 129 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |