aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-11-28 07:42:18 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-11-28 07:42:18 +0000
commit2e785bfc13a5e12559c1ceec0879891ce9601fe7 (patch)
tree0370b487e9394544732b4de731d8235762b73406
parent49616100333d2bf143fa855ab96e6e73eb62c543 (diff)
downloadgnunet-2e785bfc13a5e12559c1ceec0879891ce9601fe7.tar.gz
gnunet-2e785bfc13a5e12559c1ceec0879891ce9601fe7.zip
minor output improvement
-rw-r--r--src/namestore/test_namestore_api_remove_not_existing_record.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_remove_not_existing_record.c b/src/namestore/test_namestore_api_remove_not_existing_record.c
index d35d867c5..d1a664b17 100644
--- a/src/namestore/test_namestore_api_remove_not_existing_record.c
+++ b/src/namestore/test_namestore_api_remove_not_existing_record.c
@@ -105,19 +105,20 @@ put_cont (void *cls, int32_t success, const char *emsg)
105 105
106 switch (success) { 106 switch (success) {
107 case GNUNET_NO: 107 case GNUNET_NO:
108 /* We expected GNUNET_NO, since record was not found */
108 GNUNET_SCHEDULER_add_now (&end, NULL); 109 GNUNET_SCHEDULER_add_now (&end, NULL);
109 break; 110 break;
110 case GNUNET_OK: 111 case GNUNET_OK:
111 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 112 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
112 "Namestore could remove non-existing record: `%s'\n", 113 "Namestore could remove non-existing record: `%s'\n",
113 emsg); 114 (NULL !=emsg) ? emsg : "");
114 GNUNET_SCHEDULER_add_now (&endbadly, NULL); 115 GNUNET_SCHEDULER_add_now (&endbadly, NULL);
115 break; 116 break;
116 case GNUNET_SYSERR: 117 case GNUNET_SYSERR:
117 default: 118 default:
118 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 119 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
119 "Namestore failed: `%s'\n", 120 "Namestore failed: `%s'\n",
120 emsg); 121 (NULL !=emsg) ? emsg : "");
121 GNUNET_SCHEDULER_add_now (&endbadly, NULL); 122 GNUNET_SCHEDULER_add_now (&endbadly, NULL);
122 break; 123 break;
123 } 124 }