gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r30923 - gnunet/src/namestore


From: gnunet
Subject: [GNUnet-SVN] r30923 - gnunet/src/namestore
Date: Thu, 28 Nov 2013 08:42:18 +0100

Author: wachs
Date: 2013-11-28 08:42:18 +0100 (Thu, 28 Nov 2013)
New Revision: 30923

Modified:
   gnunet/src/namestore/test_namestore_api_remove_not_existing_record.c
Log:
minor output improvement


Modified: gnunet/src/namestore/test_namestore_api_remove_not_existing_record.c
===================================================================
--- gnunet/src/namestore/test_namestore_api_remove_not_existing_record.c        
2013-11-28 02:01:35 UTC (rev 30922)
+++ gnunet/src/namestore/test_namestore_api_remove_not_existing_record.c        
2013-11-28 07:42:18 UTC (rev 30923)
@@ -105,19 +105,20 @@
 
   switch (success) {
     case GNUNET_NO:
+      /* We expected GNUNET_NO, since record was not found */
       GNUNET_SCHEDULER_add_now (&end, NULL);
       break;
     case GNUNET_OK:
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                   "Namestore could remove non-existing record: `%s'\n",
-                  emsg);
+                  (NULL !=emsg) ? emsg : "");
       GNUNET_SCHEDULER_add_now (&endbadly, NULL);
       break;
     case GNUNET_SYSERR:
     default:
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                   "Namestore failed: `%s'\n",
-                  emsg);
+                  (NULL !=emsg) ? emsg : "");
       GNUNET_SCHEDULER_add_now (&endbadly, NULL);
       break;
   }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]