CLEANUP: task: report calls as unsigned in show sess
The "show sess" output used signed ints to report the number of calls,
which is confusing for runaway tasks where the call count can turn
negative.
diff --git a/src/stream.c b/src/stream.c
index cd47b63..5bc9a14 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -2991,7 +2991,7 @@
}
chunk_appendf(&trash,
- " task=%p (state=0x%02x nice=%d calls=%d exp=%s tmask=0x%lx%s",
+ " task=%p (state=0x%02x nice=%d calls=%u exp=%s tmask=0x%lx%s",
strm->task,
strm->task->state,
strm->task->nice, strm->task->calls,
@@ -3331,7 +3331,7 @@
}
chunk_appendf(&trash,
- " ts=%02x age=%s calls=%d cpu=%llu lat=%llu",
+ " ts=%02x age=%s calls=%u cpu=%llu lat=%llu",
curr_strm->task->state,
human_time(now.tv_sec - curr_strm->logs.tv_accept.tv_sec, 1),
curr_strm->task->calls,