mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:43:40 +03:00
checksrc: make sure sizeof() is used *with* parentheses
... and unify the source code to adhere. Closes #2563
This commit is contained in:
parent
f3d836b736
commit
cb529b713f
25 changed files with 77 additions and 64 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue