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_download_indexed.c | |
parent | fceec98e767bce7ad2c24dde73cdcf8837e04013 (diff) | |
download | gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.tar.gz gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.zip |
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/fs/test_fs_download_indexed.c')
-rw-r--r-- | src/fs/test_fs_download_indexed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/test_fs_download_indexed.c b/src/fs/test_fs_download_indexed.c index 3f932f783..6592f6efa 100644 --- a/src/fs/test_fs_download_indexed.c +++ b/src/fs/test_fs_download_indexed.c | |||
@@ -191,14 +191,14 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *event) | |||
191 | #endif | 191 | #endif |
192 | break; | 192 | break; |
193 | case GNUNET_FS_STATUS_PUBLISH_ERROR: | 193 | case GNUNET_FS_STATUS_PUBLISH_ERROR: |
194 | fprintf (stderr, "Error publishing file: %s\n", | 194 | FPRINTF (stderr, "Error publishing file: %s\n", |
195 | event->value.publish.specifics.error.message); | 195 | event->value.publish.specifics.error.message); |
196 | GNUNET_break (0); | 196 | GNUNET_break (0); |
197 | GNUNET_SCHEDULER_add_continuation (&abort_publish_task, NULL, | 197 | GNUNET_SCHEDULER_add_continuation (&abort_publish_task, NULL, |
198 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 198 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |
199 | break; | 199 | break; |
200 | case GNUNET_FS_STATUS_DOWNLOAD_ERROR: | 200 | case GNUNET_FS_STATUS_DOWNLOAD_ERROR: |
201 | fprintf (stderr, "Error downloading file: %s\n", | 201 | FPRINTF (stderr, "Error downloading file: %s\n", |
202 | event->value.download.specifics.error.message); | 202 | event->value.download.specifics.error.message); |
203 | GNUNET_SCHEDULER_add_now (&abort_download_task, NULL); | 203 | GNUNET_SCHEDULER_add_now (&abort_download_task, NULL); |
204 | break; | 204 | break; |