gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r29865 - gnunet/src/namestore
Date: Sat, 5 Oct 2013 17:42:13 +0200

Author: grothoff
Date: 2013-10-05 17:42:13 +0200 (Sat, 05 Oct 2013)
New Revision: 29865

Modified:
   gnunet/src/namestore/namestore_api_common.c
Log:
-fix ftbfs

Modified: gnunet/src/namestore/namestore_api_common.c
===================================================================
--- gnunet/src/namestore/namestore_api_common.c 2013-10-05 15:40:55 UTC (rev 
29864)
+++ gnunet/src/namestore/namestore_api_common.c 2013-10-05 15:42:13 UTC (rev 
29865)
@@ -30,6 +30,7 @@
 #include "gnunet_constants.h"
 #include "gnunet_signatures.h"
 #include "gnunet_arm_service.h"
+#include "gnunet_conversation_service.h"
 #include "gnunet_namestore_service.h"
 #include "gnunet_dnsparser_lib.h"
 #include "gnunet_tun_lib.h"
@@ -652,7 +653,7 @@
     if (data_size != sizeof (struct GNUNET_CRYPTO_EccPublicSignKey))
       return NULL;
     return GNUNET_CRYPTO_ecc_public_sign_key_to_string (data);
-  case GNUNET_NAMESTORE_TYPE_PKEY:
+  case GNUNET_NAMESTORE_TYPE_PHONE:
     {
       const struct GNUNET_CONVERSATION_PhoneRecord *pr;
       char *ret;
@@ -1000,7 +1001,7 @@
       const char *dash;
       struct GNUNET_PeerIdentity peer;
 
-      if ( (NULL == (dash = strchr (s, "-"))) ||
+      if ( (NULL == (dash = strchr (s, '-'))) ||
           (1 != sscanf (s, "%u-", &line)) ||
           (GNUNET_OK !=
            GNUNET_CRYPTO_ecc_public_sign_key_from_string (dash + 1,




reply via email to

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