summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-07-24 13:39:33 +0000
committerBart Polot <bart@net.in.tum.de>2014-07-24 13:39:33 +0000
commit2b1af57c696d62b6be7b179eabdb4b4a0c0d4b6d (patch)
treed25ca6db87ebec4590e00476d5d181be926acaaa /src/transport/plugin_transport_http_server.c
parent88c09c9ba447ee8ee466e40b17f0593b7ee8dfe6 (diff)
- fix compile
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index 74375462d..c7a1bfe7a 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -3263,18 +3263,18 @@ http_server_plugin_update_inbound_delay (void *cls,
struct Session *session,
struct GNUNET_TIME_Relative delay)
{
- s->next_receive = GNUNET_TIME_relative_to_absolute (delay);
+ session->next_receive = GNUNET_TIME_relative_to_absolute (delay);
LOG (GNUNET_ERROR_TYPE_DEBUG,
"New inbound delay %s\n",
GNUNET_STRINGS_relative_time_to_string (delay,
GNUNET_NO));
- if (GNUNET_SCHEDULER_NO_TASK != s->recv_wakeup_task)
+ if (GNUNET_SCHEDULER_NO_TASK != session->recv_wakeup_task)
{
- GNUNET_SCHEDULER_cancel (s->recv_wakeup_task);
- s->recv_wakeup_task
+ GNUNET_SCHEDULER_cancel (session->recv_wakeup_task);
+ session->recv_wakeup_task
= GNUNET_SCHEDULER_add_delayed (delay,
&server_wake_up,
- s);
+ session);
}
}