nghttpx: Fix logging integer

This commit is contained in:
Tatsuhiro Tsujikawa
2020-06-10 20:56:33 +09:00
parent 1ecc7940b8
commit abe80e371e

View File

@@ -251,7 +251,7 @@ Log &Log::operator<<(long long n) {
return *this;
}
*last_++ = '-';
*last_ += nlen;
last_ += nlen;
update_full();
auto p = last_ - 1;