diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-12-04 19:36:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-12-04 19:36:41 +0000 |
commit | 0f271cc42ea9e3029219fbb3a02862beacc08afa (patch) | |
tree | 9b9c76d5cde9ec58d2786ce9d8ef367f606627e4 /src/namestore | |
parent | b4c469f90f32a1d598285d5b600f0ccd253284e3 (diff) | |
download | gnunet-0f271cc42ea9e3029219fbb3a02862beacc08afa.tar.gz gnunet-0f271cc42ea9e3029219fbb3a02862beacc08afa.zip |
-fix conversion
Diffstat (limited to 'src/namestore')
-rw-r--r-- | src/namestore/namestore_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/namestore_common.c b/src/namestore/namestore_common.c index 09b5b46e9..71e89f45f 100644 --- a/src/namestore/namestore_common.c +++ b/src/namestore/namestore_common.c | |||
@@ -436,7 +436,7 @@ GNUNET_NAMESTORE_value_to_string (uint32_t type, | |||
436 | vpn = data; | 436 | vpn = data; |
437 | GNUNET_CRYPTO_hash_to_enc (&vpn->peer, &s_peer); | 437 | GNUNET_CRYPTO_hash_to_enc (&vpn->peer, &s_peer); |
438 | if (0 == GNUNET_asprintf (&vpn_str, "%u %s %s", | 438 | if (0 == GNUNET_asprintf (&vpn_str, "%u %s %s", |
439 | (unsigned int) ntohl (vpn->proto), | 439 | (unsigned int) ntohs (vpn->proto), |
440 | (const char*) &s_peer, | 440 | (const char*) &s_peer, |
441 | (const char*) &vpn[1])) | 441 | (const char*) &vpn[1])) |
442 | { | 442 | { |