aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol.c b/src/protocol.c
index 934dabe05..d3afe6194 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -283,7 +283,7 @@ parse_header (struct worker_task *task, f_str_t * line)
if (task->content_length == 0) {
tmp = memory_pool_fstrdup (task->task_pool, line);
task->content_length = strtoul (tmp, &err, 10);
- debug_task ("read Content-Length header, value: %lu", (unsigned long int)task->content_length);
+ debug_task ("read Content-Length header, value: %ul", (unsigned long int)task->content_length);
}
}
else {