gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r35813 - gnunet/src/namestore
Date: Tue, 26 May 2015 12:24:43 +0200

Author: grothoff
Date: 2015-05-26 12:24:43 +0200 (Tue, 26 May 2015)
New Revision: 35813

Modified:
   gnunet/src/namestore/gnunet-service-namestore.c
Log:
-fix (harmless) use of uninit 'nick'

Modified: gnunet/src/namestore/gnunet-service-namestore.c
===================================================================
--- gnunet/src/namestore/gnunet-service-namestore.c     2015-05-26 10:01:45 UTC 
(rev 35812)
+++ gnunet/src/namestore/gnunet-service-namestore.c     2015-05-26 10:24:43 UTC 
(rev 35813)
@@ -457,7 +457,8 @@
   res = GSN_database->lookup_records (GSN_database->cls, zone,
                                       GNUNET_GNS_MASTERZONE_STR,
                                       &lookup_nick_it, &nick);
-  if ((NULL == nick) || (GNUNET_OK != res))
+  if ( (GNUNET_OK != res) ||
+       (NULL == nick) )
   {
     GNUNET_CRYPTO_ecdsa_key_get_public (zone, &pub);
     GNUNET_log (GNUNET_ERROR_TYPE_INFO | GNUNET_ERROR_TYPE_BULK,
@@ -1714,4 +1715,3 @@
 }
 
 /* end of gnunet-service-namestore.c */
-




reply via email to

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