gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6227 - GNUnet/src/transports


From: gnunet
Subject: [GNUnet-SVN] r6227 - GNUnet/src/transports
Date: Sun, 10 Feb 2008 00:22:59 -0700 (MST)

Author: grothoff
Date: 2008-02-10 00:22:57 -0700 (Sun, 10 Feb 2008)
New Revision: 6227

Modified:
   GNUnet/src/transports/udp.c
Log:
fix

Modified: GNUnet/src/transports/udp.c
===================================================================
--- GNUnet/src/transports/udp.c 2008-02-10 07:16:38 UTC (rev 6226)
+++ GNUnet/src/transports/udp.c 2008-02-10 07:22:57 UTC (rev 6227)
@@ -340,11 +340,11 @@
   if (hello == NULL)
     return GNUNET_SYSERR;
 
+  haddr = (const HostAddress *) & hello[1];
   available = ntohs(haddr->availability) & available_protocols;
   if (available  == VERSION_AVAILABLE_NONE)
     return GNUNET_SYSERR;
 
-  haddr = (const HostAddress *) & hello[1];
   ssize = size + sizeof (UDPMessage);
   mp = GNUNET_malloc (ssize);
   mp->header.size = htons (ssize);





reply via email to

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