From abe80e371e90b808c8ec5e0423b58fb12bf96913 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 10 Jun 2020 20:56:33 +0900 Subject: [PATCH] nghttpx: Fix logging integer --- src/shrpx_log.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_log.cc b/src/shrpx_log.cc index 58fcb5f6..cc5d018b 100644 --- a/src/shrpx_log.cc +++ b/src/shrpx_log.cc @@ -251,7 +251,7 @@ Log &Log::operator<<(long long n) { return *this; } *last_++ = '-'; - *last_ += nlen; + last_ += nlen; update_full(); auto p = last_ - 1;