aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorPhilipp Tölke <toelke@in.tum.de>2011-01-12 14:02:33 +0000
committerPhilipp Tölke <toelke@in.tum.de>2011-01-12 14:02:33 +0000
commit3bb064f4d3259505efabf867750c03aa30370fb0 (patch)
treee04d8df80bb094508103f57278d676711aa5d8e2 /src/core
parent14839ad22bf671382d464c493d82e6ee0c629c07 (diff)
downloadgnunet-3bb064f4d3259505efabf867750c03aa30370fb0.tar.gz
gnunet-3bb064f4d3259505efabf867750c03aa30370fb0.zip
fix usage of mesh_api
assert invariant in core_api fix mesh_api
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c
index 9001b21d9..c355b626e 100644
--- a/src/core/core_api.c
+++ b/src/core/core_api.c
@@ -1518,6 +1518,7 @@ GNUNET_CORE_notify_transmit_ready (struct GNUNET_CORE_Handle *handle,
1518 GNUNET_SERVER_MAX_MESSAGE_SIZE); 1518 GNUNET_SERVER_MAX_MESSAGE_SIZE);
1519 th = GNUNET_malloc (sizeof (struct GNUNET_CORE_TransmitHandle)); 1519 th = GNUNET_malloc (sizeof (struct GNUNET_CORE_TransmitHandle));
1520 th->peer = pr; 1520 th->peer = pr;
1521 GNUNET_assert(NULL != notify);
1521 th->get_message = notify; 1522 th->get_message = notify;
1522 th->get_message_cls = notify_cls; 1523 th->get_message_cls = notify_cls;
1523 th->timeout = GNUNET_TIME_relative_to_absolute (maxdelay); 1524 th->timeout = GNUNET_TIME_relative_to_absolute (maxdelay);