aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/namestore/gnunet-service-namestore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c
index 4af80b829..fffbbba00 100644
--- a/src/namestore/gnunet-service-namestore.c
+++ b/src/namestore/gnunet-service-namestore.c
@@ -457,7 +457,8 @@ get_nick_record (const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone)
457 res = GSN_database->lookup_records (GSN_database->cls, zone, 457 res = GSN_database->lookup_records (GSN_database->cls, zone,
458 GNUNET_GNS_MASTERZONE_STR, 458 GNUNET_GNS_MASTERZONE_STR,
459 &lookup_nick_it, &nick); 459 &lookup_nick_it, &nick);
460 if ((NULL == nick) || (GNUNET_OK != res)) 460 if ( (GNUNET_OK != res) ||
461 (NULL == nick) )
461 { 462 {
462 GNUNET_CRYPTO_ecdsa_key_get_public (zone, &pub); 463 GNUNET_CRYPTO_ecdsa_key_get_public (zone, &pub);
463 GNUNET_log (GNUNET_ERROR_TYPE_INFO | GNUNET_ERROR_TYPE_BULK, 464 GNUNET_log (GNUNET_ERROR_TYPE_INFO | GNUNET_ERROR_TYPE_BULK,
@@ -1714,4 +1715,3 @@ main (int argc, char *const *argv)
1714} 1715}
1715 1716
1716/* end of gnunet-service-namestore.c */ 1717/* end of gnunet-service-namestore.c */
1717