summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}