diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-10 22:24:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-10 22:24:00 +0000 |
commit | 8b7ba67e4e201aaa44ef60b51396e29dc379d1fd (patch) | |
tree | 24fe0734ae001ab65f0c013ada8d249aa507bff7 /src/transport/plugin_transport_http_server.c | |
parent | 4559a409cf099a5b2400253f397e156f234f7c51 (diff) | |
download | gnunet-8b7ba67e4e201aaa44ef60b51396e29dc379d1fd.tar.gz gnunet-8b7ba67e4e201aaa44ef60b51396e29dc379d1fd.zip |
-eliminating cont-calls check, hard to count exactly with frag
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r-- | src/transport/plugin_transport_http_server.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index 7e09245f1..e5e4690d7 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.c | |||
@@ -598,13 +598,11 @@ server_access_cb (void *cls, struct MHD_Connection *mhd_connection, | |||
598 | const char *upload_data, size_t * upload_data_size, | 598 | const char *upload_data, size_t * upload_data_size, |
599 | void **httpSessionCache) | 599 | void **httpSessionCache) |
600 | { | 600 | { |
601 | |||
602 | struct Plugin *plugin = cls; | 601 | struct Plugin *plugin = cls; |
603 | struct ServerConnection *sc = *httpSessionCache; | 602 | struct ServerConnection *sc = *httpSessionCache; |
604 | struct Session *s = NULL; | 603 | struct Session *s; |
605 | |||
606 | int res = MHD_YES; | ||
607 | struct MHD_Response *response; | 604 | struct MHD_Response *response; |
605 | int res = MHD_YES; | ||
608 | 606 | ||
609 | GNUNET_assert (cls != NULL); | 607 | GNUNET_assert (cls != NULL); |
610 | /* new connection */ | 608 | /* new connection */ |