gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r10094 - gnunet/src/transport
Date: Thu, 21 Jan 2010 15:25:17 +0100

Author: nevans
Date: 2010-01-21 15:25:17 +0100 (Thu, 21 Jan 2010)
New Revision: 10094

Modified:
   gnunet/src/transport/plugin_transport_tcp.c
   gnunet/src/transport/plugin_transport_udp.c
   gnunet/src/transport/transport_api.c
Log:


Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2010-01-21 14:18:22 UTC (rev 
10093)
+++ gnunet/src/transport/plugin_transport_tcp.c 2010-01-21 14:25:17 UTC (rev 
10094)
@@ -516,8 +516,7 @@
          know about this one, so we need to 
          notify transport service about disconnect */
       session->plugin->env->receive (session->plugin->env->cls,
-                                     NULL,
-                                     &session->target,
+                                     &session->target, NULL,
                                      1,
                                     session->connect_addr,
                                     session->connect_alen);
@@ -1093,7 +1092,7 @@
                   (unsigned int) msize,
                    (unsigned int) ntohs (msg->type));
 #endif
-  plugin->env->receive (plugin->env->cls, message, &session->target, 1,
+  plugin->env->receive (plugin->env->cls, &session->target, message, 1,
                        session->connect_addr,
                        session->connect_alen);
   /* update bandwidth used */

Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2010-01-21 14:18:22 UTC (rev 
10093)
+++ gnunet/src/transport/plugin_transport_udp.c 2010-01-21 14:25:17 UTC (rev 
10094)
@@ -331,7 +331,7 @@
                        ntohs (hdr->type));
 #endif
       plugin->env->receive (plugin->env->cls,
-          &msg->header, sender, UDP_DIRECT_DISTANCE, (char *)&addr, fromlen);
+          sender, &msg->header, UDP_DIRECT_DISTANCE, (char *)&addr, fromlen);
 
       GNUNET_free (sender);
       GNUNET_free (buf);

Modified: gnunet/src/transport/transport_api.c
===================================================================
--- gnunet/src/transport/transport_api.c        2010-01-21 14:18:22 UTC (rev 
10093)
+++ gnunet/src/transport/transport_api.c        2010-01-21 14:25:17 UTC (rev 
10094)
@@ -778,6 +778,7 @@
  * A "get_hello" request has timed out.  Signal the client
  * and clean up.
  */
+#if 0
 static void
 hello_wait_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
@@ -821,8 +822,8 @@
     hwl->rec (hwl->rec_cls, NULL);
   GNUNET_free (hwl);
 }
+#endif
 
-
 /**
  * Obtain the HELLO message for this peer.
  *





reply via email to

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