add completion callback for overlay topology configure functions
[oweals/gnunet.git] / src / namestore / namestore_api.c
index 3b9675e25c0add1c6befbd570bb62ecbf5d57914..5e82e08babac3e16bc64404fde6b6de30f26bb9a 100644 (file)
@@ -37,7 +37,7 @@
 #include "namestore.h"
 
 
-#define LOG(kind,...) GNUNET_log_from (kind, "gns-api",__VA_ARGS__)
+#define LOG(kind,...) GNUNET_log_from (kind, "namestore-api",__VA_ARGS__)
 
 
 /**
@@ -432,8 +432,6 @@ handle_record_remove_response (struct GNUNET_NAMESTORE_QueueEntry *qe,
     break;
   default:
     GNUNET_break (0);
-    ret = GNUNET_SYSERR;
-    emsg = _("Protocol error");
     if (NULL != qe->cont)      
       qe->cont (qe->cont_cls, GNUNET_SYSERR, _("Protocol error"));
     return GNUNET_NO;
@@ -1099,8 +1097,8 @@ GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_RsaPublicKeyBinary
 {
   size_t rd_ser_len;
   size_t name_len;
-  char * name_tmp;
-  char * rd_ser;
+  char *name_tmp;
+  char *rd_ser;
   struct GNUNET_CRYPTO_RsaSignaturePurpose *sig_purpose;
   struct GNUNET_TIME_AbsoluteNBO *expire_tmp;
   struct GNUNET_TIME_AbsoluteNBO expire_nbo = GNUNET_TIME_absolute_hton (freshness);