From 2fc2a27ac1c9356fa789d7de1d68ff0428038ab5 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 22 Jan 2017 21:21:36 +0900 Subject: [PATCH] nghttpx: Use char instead of char[] if possible --- src/shrpx_https_upstream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_https_upstream.cc b/src/shrpx_https_upstream.cc index b575dcf3..a878b0f1 100644 --- a/src/shrpx_https_upstream.cc +++ b/src/shrpx_https_upstream.cc @@ -1029,7 +1029,7 @@ int HttpsUpstream::on_downstream_header_complete(Downstream *downstream) { buf->append("HTTP/"); buf->append(util::utos(req.http_major)); - buf->append("."); + buf->append('.'); buf->append(util::utos(req.http_minor)); buf->append(' '); buf->append(http2::stringify_status(balloc, resp.http_status));