nghttpx: Use char instead of char[] if possible

This commit is contained in:
Tatsuhiro Tsujikawa 2017-01-22 21:21:36 +09:00
parent db938afd66
commit 2fc2a27ac1
1 changed files with 1 additions and 1 deletions

View File

@ -1029,7 +1029,7 @@ int HttpsUpstream::on_downstream_header_complete(Downstream *downstream) {
buf->append("HTTP/"); buf->append("HTTP/");
buf->append(util::utos(req.http_major)); buf->append(util::utos(req.http_major));
buf->append("."); buf->append('.');
buf->append(util::utos(req.http_minor)); buf->append(util::utos(req.http_minor));
buf->append(' '); buf->append(' ');
buf->append(http2::stringify_status(balloc, resp.http_status)); buf->append(http2::stringify_status(balloc, resp.http_status));