aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-02-17 22:18:38 +0000
committerChristian Grothoff <christian@grothoff.org>2010-02-17 22:18:38 +0000
commit879ad15610db419328c6301f86c61cbb52820d40 (patch)
tree0e6cb41282511bd427e24c7e556367a6d2b03687 /src
parentfcc5b889b3c4783313567deb995d7437434469a3 (diff)
downloadgnunet-879ad15610db419328c6301f86c61cbb52820d40.tar.gz
gnunet-879ad15610db419328c6301f86c61cbb52820d40.zip
no log, no dummy
Diffstat (limited to 'src')
-rw-r--r--src/core/core_api.c7
-rw-r--r--src/core/gnunet-service-core.c8
2 files changed, 3 insertions, 12 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c
index 39c81a90d..2179cf0e0 100644
--- a/src/core/core_api.c
+++ b/src/core/core_api.c
@@ -276,8 +276,6 @@ timeout_request (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
276{ 276{
277 struct GNUNET_CORE_TransmitHandle *th = cls; 277 struct GNUNET_CORE_TransmitHandle *th = cls;
278 278
279 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
280 "Transmission request timed out.\n");
281 th->timeout_task = GNUNET_SCHEDULER_NO_TASK; 279 th->timeout_task = GNUNET_SCHEDULER_NO_TASK;
282 GNUNET_assert (0 == th->get_message (th->get_message_cls, 0, NULL)); 280 GNUNET_assert (0 == th->get_message (th->get_message_cls, 0, NULL));
283} 281}
@@ -298,10 +296,7 @@ request_start (void *cls, size_t size, void *buf)
298 struct GNUNET_CORE_Handle *h = cls; 296 struct GNUNET_CORE_Handle *h = cls;
299 struct GNUNET_CORE_TransmitHandle *th; 297 struct GNUNET_CORE_TransmitHandle *th;
300 size_t ret; 298 size_t ret;
301#if DEBUG_CORE 299
302 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
303 "request_start called\n");
304#endif
305 h->th = NULL; 300 h->th = NULL;
306 th = h->pending_head; 301 th = h->pending_head;
307 if (buf == NULL) 302 if (buf == NULL)
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c
index afb7095d9..c131130f8 100644
--- a/src/core/gnunet-service-core.c
+++ b/src/core/gnunet-service-core.c
@@ -2045,13 +2045,9 @@ static size_t
2045notify_transport_connect_done (void *cls, size_t size, void *buf) 2045notify_transport_connect_done (void *cls, size_t size, void *buf)
2046{ 2046{
2047 struct Neighbour *n = cls; 2047 struct Neighbour *n = cls;
2048 struct GNUNET_MessageHeader hdr;
2049
2050 n->th = NULL; 2048 n->th = NULL;
2051 hdr.type = htons (GNUNET_MESSAGE_TYPE_TOPOLOGY_DUMMY); 2049 send_key (n);
2052 hdr.size = htons (sizeof(hdr)); 2050 return 0;
2053 memcpy (buf, &hdr, sizeof (hdr));
2054 return sizeof (hdr);
2055} 2051}
2056 2052
2057 2053