aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/transport/plugin_transport_http_server.c4
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)