diff options
author | Philipp Tölke <toelke@in.tum.de> | 2011-01-12 14:02:33 +0000 |
---|---|---|
committer | Philipp Tölke <toelke@in.tum.de> | 2011-01-12 14:02:33 +0000 |
commit | 3bb064f4d3259505efabf867750c03aa30370fb0 (patch) | |
tree | e04d8df80bb094508103f57278d676711aa5d8e2 /src/core | |
parent | 14839ad22bf671382d464c493d82e6ee0c629c07 (diff) | |
download | gnunet-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.c | 1 |
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); |