diff options
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r-- | src/transport/plugin_transport_http.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 88ab5cfed..937f4f62f 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c | |||
@@ -1261,8 +1261,10 @@ session_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1261 | 1261 | ||
1262 | s->timeout_task = GNUNET_SCHEDULER_NO_TASK; | 1262 | s->timeout_task = GNUNET_SCHEDULER_NO_TASK; |
1263 | GNUNET_log (TIMEOUT_LOG, | 1263 | GNUNET_log (TIMEOUT_LOG, |
1264 | "Session %p was idle for %llu ms, disconnecting\n", | 1264 | "Session %p was idle for %s, disconnecting\n", |
1265 | s, (unsigned long long) TIMEOUT.rel_value); | 1265 | s, |
1266 | GNUNET_STRINGS_relative_time_to_string (TIMEOUT, | ||
1267 | GNUNET_YES)); | ||
1266 | 1268 | ||
1267 | /* call session destroy function */ | 1269 | /* call session destroy function */ |
1268 | if (s->inbound == GNUNET_NO) | 1270 | if (s->inbound == GNUNET_NO) |
@@ -1284,8 +1286,10 @@ start_session_timeout (struct Session *s) | |||
1284 | &session_timeout, | 1286 | &session_timeout, |
1285 | s); | 1287 | s); |
1286 | GNUNET_log (TIMEOUT_LOG, | 1288 | GNUNET_log (TIMEOUT_LOG, |
1287 | "Timeout for session %p set to %llu ms\n", | 1289 | "Timeout for session %p set to %s\n", |
1288 | s, (unsigned long long) TIMEOUT.rel_value); | 1290 | s, |
1291 | GNUNET_STRINGS_relative_time_to_string (TIMEOUT, | ||
1292 | GNUNET_YES)); | ||
1289 | } | 1293 | } |
1290 | 1294 | ||
1291 | 1295 | ||
@@ -1303,8 +1307,10 @@ reschedule_session_timeout (struct Session *s) | |||
1303 | &session_timeout, | 1307 | &session_timeout, |
1304 | s); | 1308 | s); |
1305 | GNUNET_log (TIMEOUT_LOG, | 1309 | GNUNET_log (TIMEOUT_LOG, |
1306 | "Timeout rescheduled for session %p set to %llu ms\n", | 1310 | "Timeout rescheduled for session %p set to %s\n", |
1307 | s, (unsigned long long) TIMEOUT.rel_value); | 1311 | s, |
1312 | GNUNET_STRINGS_relative_time_to_String (TIMEOUT, | ||
1313 | GNUNET_YES)); | ||
1308 | } | 1314 | } |
1309 | 1315 | ||
1310 | 1316 | ||