gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r14305 - gnunet/src/transport
Date: Tue, 1 Feb 2011 23:31:57 +0100

Author: brodski
Date: 2011-02-01 23:31:57 +0100 (Tue, 01 Feb 2011)
New Revision: 14305

Modified:
   gnunet/src/transport/plugin_transport_wlan.c
Log:
two errors fixed in wlan

Modified: gnunet/src/transport/plugin_transport_wlan.c
===================================================================
--- gnunet/src/transport/plugin_transport_wlan.c        2011-02-01 13:47:55 UTC 
(rev 14304)
+++ gnunet/src/transport/plugin_transport_wlan.c        2011-02-01 22:31:57 UTC 
(rev 14305)
@@ -1050,7 +1050,7 @@
   uint copyoffset = 0;
   struct AckQueue * akt = NULL;
 
-#if 0
+#if 1
   struct GNUNET_MessageHeader * msgheader2 = NULL;
 
   //test if a "hello-beacon" has to be send
@@ -1922,7 +1922,7 @@
       GNUNET_log(GNUNET_ERROR_TYPE_DEBUG,
           "After Information\n");
 #endif
-      plugin->env->receive(plugin, &(session->target), temp_hdr,
+      plugin->env->receive(plugin->env, &(session->target), temp_hdr,
           (const struct GNUNET_TRANSPORT_ATS_Information *) &distance, 2,
           session, session->addr, sizeof(session->addr));
 #if DEBUG_wlan
@@ -2140,7 +2140,7 @@
             temp_hdr = (struct GNUNET_MessageHeader *) &wlanIeeeHeader[1];
               while (pos < hdr->size)
                 {
-                  wlan_data_helper(plugin, &session_light, temp_hdr);
+                  wlan_data_helper(plugin, session_light, temp_hdr);
                   pos += temp_hdr->size + sizeof(struct GNUNET_MessageHeader);
                 }
             }




reply via email to

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