diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-18 09:59:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-18 09:59:32 +0000 |
commit | 413d5996ea86e8ced36b201919c9e79b05371acb (patch) | |
tree | 025e56b3831a79381b1f4e7b07ce10da4fc78310 /src/peerinfo/gnunet-service-peerinfo.c | |
parent | 61ad90c5d4ec73bb4dde311d26b09250d66bbc55 (diff) | |
download | gnunet-413d5996ea86e8ced36b201919c9e79b05371acb.tar.gz gnunet-413d5996ea86e8ced36b201919c9e79b05371acb.zip |
-clean up error message
Diffstat (limited to 'src/peerinfo/gnunet-service-peerinfo.c')
-rw-r--r-- | src/peerinfo/gnunet-service-peerinfo.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c index 25a7ae3b1..a78855101 100644 --- a/src/peerinfo/gnunet-service-peerinfo.c +++ b/src/peerinfo/gnunet-service-peerinfo.c | |||
@@ -370,10 +370,8 @@ read_host_file (const char *fn, | |||
370 | if (0 == size_hello) | 370 | if (0 == size_hello) |
371 | { | 371 | { |
372 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 372 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
373 | _("Failed to parse HELLO in file `%s': %s %u \n"), | 373 | _("Failed to parse HELLO in file `%s'\n"), |
374 | fn, | 374 | fn); |
375 | "HELLO is invalid and has size of ", | ||
376 | size_hello); | ||
377 | if ((GNUNET_YES == unlink_garbage) && | 375 | if ((GNUNET_YES == unlink_garbage) && |
378 | (0 != UNLINK (fn)) && | 376 | (0 != UNLINK (fn)) && |
379 | (ENOENT != errno) ) | 377 | (ENOENT != errno) ) |
@@ -389,10 +387,8 @@ read_host_file (const char *fn, | |||
389 | if (NULL == hello_clean) | 387 | if (NULL == hello_clean) |
390 | { | 388 | { |
391 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 389 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
392 | _("Failed to parse HELLO in file `%s': %s %u \n"), | 390 | _("Failed to parse HELLO in file `%s'\n"), |
393 | fn, | 391 | fn); |
394 | "HELLO is invalid and has size of ", | ||
395 | size_hello); | ||
396 | if ((GNUNET_YES == unlink_garbage) && | 392 | if ((GNUNET_YES == unlink_garbage) && |
397 | (0 != UNLINK (fn)) && | 393 | (0 != UNLINK (fn)) && |
398 | (ENOENT != errno) ) | 394 | (ENOENT != errno) ) |