From 55910fb919763748015c5c83096764a05919d7f1 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 27 Aug 2012 15:33:43 +0000 Subject: [PATCH] fix --- src/transport/plugin_transport_http_client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 3e4de2cf7..1ae3325f6 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c @@ -383,7 +383,6 @@ http_client_plugin_send (void *cls, { struct HTTP_Client_Plugin *plugin = cls; struct HTTP_Message *msg; - size_t res = -1; GNUNET_assert (plugin != NULL); GNUNET_assert (session != NULL); @@ -421,8 +420,7 @@ http_client_plugin_send (void *cls, } client_schedule (session->plugin, GNUNET_YES); client_reschedule_session_timeout (session); - - return res; + return msgbuf_size; } -- 2.25.1