summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-25 21:27:59 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-25 21:27:59 +0800
commit212608669c44c24462d803dc238ed21e899c2b9f (patch)
treef6ae4975cd153c84d4b5dc7bb71dac94a5b8a4f8
parent57bb4f20c1cf737b49eac2a8be108a9ffbde60ce (diff)
Fix integer digit count
-rw-r--r--request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/request.h b/request.h
index 1252374..68411d9 100644
--- a/request.h
+++ b/request.h
@@ -33,7 +33,7 @@ inline void request(size_t (*writefunction)(void *, size_t, size_t, void *)
ival = va_arg(ap, unsigned int);
do {
length++;
- } while (ival / 10);
+ } while ((ival /= 10));
length -= 2;
break;
default: