diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-12-04 19:36:41 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-12-04 19:36:41 +0000 |
commit | f94f0f7501636a62b5ec04bcd55d40b14614d1c6 (patch) | |
tree | 9b9c76d5cde9ec58d2786ce9d8ef367f606627e4 | |
parent | 36539b13632be43bb7b7b4a14ad98bb65bc4b807 (diff) |
-fix conversion
git-svn-id: https://gnunet.org/svn/gnunet@25244 140774ce-b5e7-0310-ab8b-a85725594a96
-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 09b5b46e97..71e89f45f2 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, vpn = data; GNUNET_CRYPTO_hash_to_enc (&vpn->peer, &s_peer); if (0 == GNUNET_asprintf (&vpn_str, "%u %s %s", - (unsigned int) ntohl (vpn->proto), + (unsigned int) ntohs (vpn->proto), (const char*) &s_peer, (const char*) &vpn[1])) { |