aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-05-24 09:35:37 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-05-24 09:35:37 +0000
commit101f5787ac60dafa175950fb714c6d4cc4906478 (patch)
tree711c8042c8b22856b0946d0c819a3520498ac274 /src/transport/plugin_transport_http_server.c
parent6743123dcc6b37dabf2759f384a7f6ad08a08bec (diff)
downloadgnunet-101f5787ac60dafa175950fb714c6d4cc4906478.tar.gz
gnunet-101f5787ac60dafa175950fb714c6d4cc4906478.zip
- adding return value to mst callback
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index 00ad005bd..c49e4953a 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -273,7 +273,7 @@ server_reschedule (struct Plugin *plugin, struct MHD_Daemon *server, int now)
273 * @param client clien 273 * @param client clien
274 * @param message the message to be forwarded to transport service 274 * @param message the message to be forwarded to transport service
275 */ 275 */
276static void 276static int
277server_receive_mst_cb (void *cls, void *client, 277server_receive_mst_cb (void *cls, void *client,
278 const struct GNUNET_MessageHeader *message) 278 const struct GNUNET_MessageHeader *message)
279{ 279{
@@ -281,7 +281,7 @@ server_receive_mst_cb (void *cls, void *client,
281 281
282 GNUNET_assert (NULL != p); 282 GNUNET_assert (NULL != p);
283 if (GNUNET_NO == exist_session(p, s)) 283 if (GNUNET_NO == exist_session(p, s))
284 return; 284 return GNUNET_OK;
285 285
286 struct Plugin *plugin = s->plugin; 286 struct Plugin *plugin = s->plugin;
287 struct GNUNET_TIME_Relative delay; 287 struct GNUNET_TIME_Relative delay;
@@ -299,6 +299,7 @@ server_receive_mst_cb (void *cls, void *client,
299 http_plugin_address_to_string (NULL, s->addr, s->addrlen), 299 http_plugin_address_to_string (NULL, s->addr, s->addrlen),
300 delay); 300 delay);
301 } 301 }
302 return GNUNET_OK;
302} 303}
303 304
304/** 305/**