aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-29 13:45:06 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-29 13:45:06 +0000
commit3b3debab9a5cd72ba5ec98d04ef08209f2f5b080 (patch)
tree6ff39f510be171df0cdbb986097a21ceca555fd3 /src/namestore
parenta7695d91fec473c153487aa84c425f9cbbaf2a54 (diff)
downloadgnunet-3b3debab9a5cd72ba5ec98d04ef08209f2f5b080.tar.gz
gnunet-3b3debab9a5cd72ba5ec98d04ef08209f2f5b080.zip
-fixes
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/gnunet-service-namestore.c4
-rw-r--r--src/namestore/namestore_api.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c
index 81639fcab..b8714f08d 100644
--- a/src/namestore/gnunet-service-namestore.c
+++ b/src/namestore/gnunet-service-namestore.c
@@ -1646,7 +1646,7 @@ zone_iteraterate_proc (void *cls,
1646{ 1646{
1647 struct ZoneIterationProcResult *proc = cls; 1647 struct ZoneIterationProcResult *proc = cls;
1648 struct GNUNET_NAMESTORE_RecordData rd_filtered[rd_count]; 1648 struct GNUNET_NAMESTORE_RecordData rd_filtered[rd_count];
1649 struct GNUNET_CRYPTO_RsaSignature *new_signature; 1649 struct GNUNET_CRYPTO_RsaSignature *new_signature = NULL;
1650 struct GNUNET_NAMESTORE_CryptoContainer *cc; 1650 struct GNUNET_NAMESTORE_CryptoContainer *cc;
1651 struct GNUNET_HashCode long_hash; 1651 struct GNUNET_HashCode long_hash;
1652 struct GNUNET_CRYPTO_ShortHashCode zone_hash; 1652 struct GNUNET_CRYPTO_ShortHashCode zone_hash;
@@ -1746,7 +1746,7 @@ zone_iteraterate_proc (void *cls,
1746 name, GNUNET_short_h2s (&zone_hash), rd_count_filtered, 1746 name, GNUNET_short_h2s (&zone_hash), rd_count_filtered,
1747 (unsigned long long) expire.abs_value); 1747 (unsigned long long) expire.abs_value);
1748 return; 1748 return;
1749 } 1749 }
1750 } 1750 }
1751 else 1751 else
1752 { 1752 {
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c
index 3b9675e25..4c056c82b 100644
--- a/src/namestore/namestore_api.c
+++ b/src/namestore/namestore_api.c
@@ -432,8 +432,6 @@ handle_record_remove_response (struct GNUNET_NAMESTORE_QueueEntry *qe,
432 break; 432 break;
433 default: 433 default:
434 GNUNET_break (0); 434 GNUNET_break (0);
435 ret = GNUNET_SYSERR;
436 emsg = _("Protocol error");
437 if (NULL != qe->cont) 435 if (NULL != qe->cont)
438 qe->cont (qe->cont_cls, GNUNET_SYSERR, _("Protocol error")); 436 qe->cont (qe->cont_cls, GNUNET_SYSERR, _("Protocol error"));
439 return GNUNET_NO; 437 return GNUNET_NO;