gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r33637 - gnunet/src/transport
Date: Wed, 11 Jun 2014 11:36:06 +0200

Author: grothoff
Date: 2014-06-11 11:36:05 +0200 (Wed, 11 Jun 2014)
New Revision: 33637

Modified:
   gnunet/src/transport/gnunet-service-transport_clients.c
   gnunet/src/transport/plugin_transport_http_common.c
   gnunet/src/transport/plugin_transport_wlan.c
Log:
-misc fixes

Modified: gnunet/src/transport/gnunet-service-transport_clients.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport_clients.c     2014-06-11 
09:27:07 UTC (rev 33636)
+++ gnunet/src/transport/gnunet-service-transport_clients.c     2014-06-11 
09:36:05 UTC (rev 33637)
@@ -882,6 +882,11 @@
   size_t len;
   size_t slen;
 
+  fprintf (stderr,
+           "TATC: %p: %p/%d\n",
+           actx,
+           buf,
+           res);
   GNUNET_assert ( (GNUNET_OK == res) ||
                   (GNUNET_SYSERR == res) );
   if (NULL == buf)
@@ -987,6 +992,9 @@
   papi = GST_plugins_printer_find (plugin_name);
   if (NULL == papi)
   {
+    fprintf (stderr,
+             "DEAD: %s\n",
+             plugin_name);
     atsm.header.size = ntohs (sizeof (struct AddressToStringResultMessage));
     atsm.header.type = ntohs 
(GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING_REPLY);
     atsm.res = htonl (GNUNET_SYSERR);
@@ -1003,6 +1011,11 @@
     return;
   }
   actx = GNUNET_new (struct AddressToStringContext);
+  fprintf (stderr,
+           "AAAA: %p - %s\n",
+           actx,
+           plugin_name);
+
   actx->tc = tc;
   GNUNET_CONTAINER_DLL_insert (a2s_head, a2s_tail, actx);
   GNUNET_SERVER_disable_receive_done_warning (client);

Modified: gnunet/src/transport/plugin_transport_http_common.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_common.c 2014-06-11 09:27:07 UTC 
(rev 33636)
+++ gnunet/src/transport/plugin_transport_http_common.c 2014-06-11 09:36:05 UTC 
(rev 33637)
@@ -214,7 +214,7 @@
                                               address,
                                               addrlen);
   asc (asc_cls,
-       NULL,
+       ret,
        (NULL == ret) ? GNUNET_SYSERR : GNUNET_OK);
   asc (asc_cls,
        NULL,

Modified: gnunet/src/transport/plugin_transport_wlan.c
===================================================================
--- gnunet/src/transport/plugin_transport_wlan.c        2014-06-11 09:27:07 UTC 
(rev 33636)
+++ gnunet/src/transport/plugin_transport_wlan.c        2014-06-11 09:36:05 UTC 
(rev 33637)
@@ -1646,8 +1646,8 @@
  *
  * @param cls closure
  * @param addr pointer to the address
- * @param addrlen length of addr
- * @return GNUNET_OK if this is a plausible address for this peer
+ * @param addrlen length of @a addr
+ * @return #GNUNET_OK if this is a plausible address for this peer
  *         and transport
  */
 static int




reply via email to

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