diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-05-11 23:40:58 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-14 10:59:11 +0200 |
commit | eaf3200f7f08cd7ee5afede3b5576cdac0266665 (patch) | |
tree | e961f65ad27632ddb6e3fd2e38cdaacef808e047 /lib/http.c | |
parent | 07b9826541ec429433495d237301d59a5d8bfd22 (diff) | |
download | curl-bagder/unify-sizeof.tar.gz |
checksrc: make sure sizeof() is used *with* parenthesesbagder/unify-sizeof
... and unify the source code to adhere.
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index ff1d6813a..d4854013d 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1406,7 +1406,7 @@ static CURLcode add_haproxy_protocol_header(struct connectdata *conn) } snprintf(proxy_header, - sizeof proxy_header, + sizeof(proxy_header), "PROXY %s %s %s %li %li\r\n", tcp_version, conn->data->info.conn_local_ip, |