diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-05 15:42:13 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-05 15:42:13 +0000 |
commit | 3024eeff65e292dd75ec0104a3b22f1e8108f86b (patch) | |
tree | 0fc0affd504f3e6744848a742853e268723ceae7 /src/namestore | |
parent | 95b51ca1ee2a3d75a9570934dfcf1862cf830b7e (diff) | |
download | gnunet-3024eeff65e292dd75ec0104a3b22f1e8108f86b.tar.gz gnunet-3024eeff65e292dd75ec0104a3b22f1e8108f86b.zip |
-fix ftbfs
Diffstat (limited to 'src/namestore')
-rw-r--r-- | src/namestore/namestore_api_common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/namestore/namestore_api_common.c b/src/namestore/namestore_api_common.c index c965b528e..ca5d8072f 100644 --- a/src/namestore/namestore_api_common.c +++ b/src/namestore/namestore_api_common.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include "gnunet_constants.h" | 30 | #include "gnunet_constants.h" |
31 | #include "gnunet_signatures.h" | 31 | #include "gnunet_signatures.h" |
32 | #include "gnunet_arm_service.h" | 32 | #include "gnunet_arm_service.h" |
33 | #include "gnunet_conversation_service.h" | ||
33 | #include "gnunet_namestore_service.h" | 34 | #include "gnunet_namestore_service.h" |
34 | #include "gnunet_dnsparser_lib.h" | 35 | #include "gnunet_dnsparser_lib.h" |
35 | #include "gnunet_tun_lib.h" | 36 | #include "gnunet_tun_lib.h" |
@@ -652,7 +653,7 @@ GNUNET_NAMESTORE_value_to_string (uint32_t type, | |||
652 | if (data_size != sizeof (struct GNUNET_CRYPTO_EccPublicSignKey)) | 653 | if (data_size != sizeof (struct GNUNET_CRYPTO_EccPublicSignKey)) |
653 | return NULL; | 654 | return NULL; |
654 | return GNUNET_CRYPTO_ecc_public_sign_key_to_string (data); | 655 | return GNUNET_CRYPTO_ecc_public_sign_key_to_string (data); |
655 | case GNUNET_NAMESTORE_TYPE_PKEY: | 656 | case GNUNET_NAMESTORE_TYPE_PHONE: |
656 | { | 657 | { |
657 | const struct GNUNET_CONVERSATION_PhoneRecord *pr; | 658 | const struct GNUNET_CONVERSATION_PhoneRecord *pr; |
658 | char *ret; | 659 | char *ret; |
@@ -1000,7 +1001,7 @@ GNUNET_NAMESTORE_string_to_value (uint32_t type, | |||
1000 | const char *dash; | 1001 | const char *dash; |
1001 | struct GNUNET_PeerIdentity peer; | 1002 | struct GNUNET_PeerIdentity peer; |
1002 | 1003 | ||
1003 | if ( (NULL == (dash = strchr (s, "-"))) || | 1004 | if ( (NULL == (dash = strchr (s, '-'))) || |
1004 | (1 != sscanf (s, "%u-", &line)) || | 1005 | (1 != sscanf (s, "%u-", &line)) || |
1005 | (GNUNET_OK != | 1006 | (GNUNET_OK != |
1006 | GNUNET_CRYPTO_ecc_public_sign_key_from_string (dash + 1, | 1007 | GNUNET_CRYPTO_ecc_public_sign_key_from_string (dash + 1, |