gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r25244 - gnunet/src/namestore
Date: Tue, 4 Dec 2012 20:36:42 +0100

Author: grothoff
Date: 2012-12-04 20:36:41 +0100 (Tue, 04 Dec 2012)
New Revision: 25244

Modified:
   gnunet/src/namestore/namestore_common.c
Log:
-fix conversion

Modified: gnunet/src/namestore/namestore_common.c
===================================================================
--- gnunet/src/namestore/namestore_common.c     2012-12-04 16:04:24 UTC (rev 
25243)
+++ gnunet/src/namestore/namestore_common.c     2012-12-04 19:36:41 UTC (rev 
25244)
@@ -436,7 +436,7 @@
     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]))
     {




reply via email to

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