gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r27716 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r27716 - gnunet/src/transport
Date: Tue, 2 Jul 2013 09:54:03 +0200

Author: wachs
Date: 2013-07-02 09:54:03 +0200 (Tue, 02 Jul 2013)
New Revision: 27716

Modified:
   gnunet/src/transport/plugin_transport_wlan.c
Log:
fix failing tests: returned wrong address size


Modified: gnunet/src/transport/plugin_transport_wlan.c
===================================================================
--- gnunet/src/transport/plugin_transport_wlan.c        2013-07-02 07:40:46 UTC 
(rev 27715)
+++ gnunet/src/transport/plugin_transport_wlan.c        2013-07-02 07:54:03 UTC 
(rev 27716)
@@ -1186,7 +1186,7 @@
       GNUNET_break_op (0);
       break;
     }
-    LOG (GNUNET_ERROR_TYPE_DEBUG, 
+    LOG (GNUNET_ERROR_TYPE_DEBUG,
         "Processing %u bytes of HELLO from peer `%s' at MAC %s\n",
         (unsigned int) msize,
         GNUNET_i2s (&tmpsource),
@@ -1323,11 +1323,11 @@
                          hdr, 
                          mas->session,
                          (mas->endpoint == NULL) ? NULL : (const char *) 
&mas->endpoint->addr,
-                         (mas->endpoint == NULL) ? 0 : sizeof (struct 
GNUNET_TRANSPORT_WLAN_MacAddress));
+                         (mas->endpoint == NULL) ? 0 : sizeof (struct 
WlanAddress));
     plugin->env->update_address_metrics (plugin->env->cls,
                                         &mas->session->target,
                                         (mas->endpoint == NULL) ? NULL : 
(const char *) &mas->endpoint->addr,
-                                        (mas->endpoint == NULL) ? 0 : sizeof 
(struct GNUNET_TRANSPORT_WLAN_MacAddress),
+                                        (mas->endpoint == NULL) ? 0 : sizeof 
(struct WlanAddress),
                                         mas->session,
                                         &ats, 1);
     break;




reply via email to

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