diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-15 16:32:35 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-15 16:32:35 +0000 |
commit | e5f76bbe80100e58b82e0ee629dd35e975478206 (patch) | |
tree | 7d22e146d1ce44c4b43aefaa7ac13b4ab04d5128 /src/transport/plugin_transport_http_server.c | |
parent | 21d827009ebb4cc91d6ae08c2c71c5ce09fc4bfc (diff) | |
download | gnunet-e5f76bbe80100e58b82e0ee629dd35e975478206.tar.gz gnunet-e5f76bbe80100e58b82e0ee629dd35e975478206.zip |
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r-- | src/transport/plugin_transport_http_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index ae3c41d69..c0153e15a 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.c | |||
@@ -640,7 +640,7 @@ server_access_cb (void *cls, struct MHD_Connection *mhd_connection, | |||
640 | 640 | ||
641 | GNUNET_assert (s != NULL); | 641 | GNUNET_assert (s != NULL); |
642 | /* Check if both directions are connected */ | 642 | /* Check if both directions are connected */ |
643 | if ((sc->session->server_recv == NULL) || (sc->session->server_recv == NULL)) | 643 | if ((sc->session->server_recv == NULL) || (sc->session->server_send == NULL)) |
644 | { | 644 | { |
645 | (*upload_data_size) = 0; | 645 | (*upload_data_size) = 0; |
646 | return MHD_YES; | 646 | return MHD_YES; |
@@ -895,7 +895,7 @@ server_v4_run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
895 | return; | 895 | return; |
896 | #if VERBOSE_SERVER | 896 | #if VERBOSE_SERVER |
897 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name, | 897 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name, |
898 | "Running IPv6 server\n"); | 898 | "Running IPv4 server\n"); |
899 | #endif | 899 | #endif |
900 | GNUNET_assert (MHD_YES == MHD_run (plugin->server_v4)); | 900 | GNUNET_assert (MHD_YES == MHD_run (plugin->server_v4)); |
901 | if (plugin->server_v4 != NULL) | 901 | if (plugin->server_v4 != NULL) |