aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-11 09:36:05 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-11 09:36:05 +0000
commit5db334d7a6a36f1536e4268da7ca87c027ffc5ee (patch)
treec6865cf48a86b5bbf105f3c79179c50dddc342c0 /src
parent4ac8eff7856d655c7a311becdbb7abe3c7551961 (diff)
downloadgnunet-5db334d7a6a36f1536e4268da7ca87c027ffc5ee.tar.gz
gnunet-5db334d7a6a36f1536e4268da7ca87c027ffc5ee.zip
-misc fixes
Diffstat (limited to 'src')
-rw-r--r--src/transport/gnunet-service-transport_clients.c13
-rw-r--r--src/transport/plugin_transport_http_common.c2
-rw-r--r--src/transport/plugin_transport_wlan.c4
3 files changed, 16 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c
index fc3abdd1a..1c00e0ebd 100644
--- a/src/transport/gnunet-service-transport_clients.c
+++ b/src/transport/gnunet-service-transport_clients.c
@@ -882,6 +882,11 @@ transmit_address_to_client (void *cls,
882 size_t len; 882 size_t len;
883 size_t slen; 883 size_t slen;
884 884
885 fprintf (stderr,
886 "TATC: %p: %p/%d\n",
887 actx,
888 buf,
889 res);
885 GNUNET_assert ( (GNUNET_OK == res) || 890 GNUNET_assert ( (GNUNET_OK == res) ||
886 (GNUNET_SYSERR == res) ); 891 (GNUNET_SYSERR == res) );
887 if (NULL == buf) 892 if (NULL == buf)
@@ -987,6 +992,9 @@ clients_handle_address_to_string (void *cls,
987 papi = GST_plugins_printer_find (plugin_name); 992 papi = GST_plugins_printer_find (plugin_name);
988 if (NULL == papi) 993 if (NULL == papi)
989 { 994 {
995 fprintf (stderr,
996 "DEAD: %s\n",
997 plugin_name);
990 atsm.header.size = ntohs (sizeof (struct AddressToStringResultMessage)); 998 atsm.header.size = ntohs (sizeof (struct AddressToStringResultMessage));
991 atsm.header.type = ntohs (GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING_REPLY); 999 atsm.header.type = ntohs (GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING_REPLY);
992 atsm.res = htonl (GNUNET_SYSERR); 1000 atsm.res = htonl (GNUNET_SYSERR);
@@ -1003,6 +1011,11 @@ clients_handle_address_to_string (void *cls,
1003 return; 1011 return;
1004 } 1012 }
1005 actx = GNUNET_new (struct AddressToStringContext); 1013 actx = GNUNET_new (struct AddressToStringContext);
1014 fprintf (stderr,
1015 "AAAA: %p - %s\n",
1016 actx,
1017 plugin_name);
1018
1006 actx->tc = tc; 1019 actx->tc = tc;
1007 GNUNET_CONTAINER_DLL_insert (a2s_head, a2s_tail, actx); 1020 GNUNET_CONTAINER_DLL_insert (a2s_head, a2s_tail, actx);
1008 GNUNET_SERVER_disable_receive_done_warning (client); 1021 GNUNET_SERVER_disable_receive_done_warning (client);
diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c
index 02129f37d..763c252ea 100644
--- a/src/transport/plugin_transport_http_common.c
+++ b/src/transport/plugin_transport_http_common.c
@@ -214,7 +214,7 @@ http_common_plugin_address_pretty_printer (void *cls,
214 address, 214 address,
215 addrlen); 215 addrlen);
216 asc (asc_cls, 216 asc (asc_cls,
217 NULL, 217 ret,
218 (NULL == ret) ? GNUNET_SYSERR : GNUNET_OK); 218 (NULL == ret) ? GNUNET_SYSERR : GNUNET_OK);
219 asc (asc_cls, 219 asc (asc_cls,
220 NULL, 220 NULL,
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index 6da3365eb..49dfee816 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -1646,8 +1646,8 @@ send_hello_beacon (void *cls,
1646 * 1646 *
1647 * @param cls closure 1647 * @param cls closure
1648 * @param addr pointer to the address 1648 * @param addr pointer to the address
1649 * @param addrlen length of addr 1649 * @param addrlen length of @a addr
1650 * @return GNUNET_OK if this is a plausible address for this peer 1650 * @return #GNUNET_OK if this is a plausible address for this peer
1651 * and transport 1651 * and transport
1652 */ 1652 */
1653static int 1653static int