aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-27 14:06:37 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-27 14:06:37 +0000
commitbb325e4a419aa2ec5ddff34b45a49dcaaa53d0ab (patch)
tree3056b04d5e1ba0e316ee3f9ceeb8cd76133cde13 /src/transport/plugin_transport_http_server.c
parent0132ed3cba1026781772b98c737048311b510977 (diff)
downloadgnunet-bb325e4a419aa2ec5ddff34b45a49dcaaa53d0ab.tar.gz
gnunet-bb325e4a419aa2ec5ddff34b45a49dcaaa53d0ab.zip
-some fixes for monkey
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index ea8ef428f..7426dee10 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -1633,6 +1633,8 @@ server_v6_run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
1633} 1633}
1634 1634
1635 1635
1636#define UNSIGNED_MHD_LONG_LONG unsigned MHD_LONG_LONG
1637
1636/** 1638/**
1637 * Function that queries MHD's select sets and 1639 * Function that queries MHD's select sets and
1638 * starts the task waiting for them. 1640 * starts the task waiting for them.
@@ -1654,7 +1656,7 @@ server_schedule (struct HTTP_Server_Plugin *plugin,
1654 struct GNUNET_NETWORK_FDSet *wws; 1656 struct GNUNET_NETWORK_FDSet *wws;
1655 struct GNUNET_NETWORK_FDSet *wes; 1657 struct GNUNET_NETWORK_FDSet *wes;
1656 int max; 1658 int max;
1657 unsigned MHD_LONG_LONG timeout; 1659 UNSIGNED_MHD_LONG_LONG timeout;
1658 static unsigned long long last_timeout = 0; 1660 static unsigned long long last_timeout = 0;
1659 int haveto; 1661 int haveto;
1660 1662