diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2021-02-01 02:10:07 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2021-02-09 02:53:31 -0500 |
commit | cb2dc1ba89dbdb3850de8e92907bbbbb9c1903e0 (patch) | |
tree | 4f6d4b8c68d2e64f4dde8d607a542eb4c33a962b /lib/http.c | |
parent | 65ca2294619f865362332ceddc622db92d0f50a6 (diff) | |
download | curl-cb2dc1ba89dbdb3850de8e92907bbbbb9c1903e0.tar.gz |
lib: use int type for more port variables
This is a follow-up to 764c6bd. Prior to that change port variables
were usually type long.
Closes https://github.com/curl/curl/pull/6553
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 75cf7f4ab..72aa96297 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1504,7 +1504,7 @@ static CURLcode add_haproxy_protocol_header(struct Curl_easy *data) msnprintf(proxy_header, sizeof(proxy_header), - "PROXY %s %s %s %li %li\r\n", + "PROXY %s %s %s %i %i\r\n", tcp_version, data->info.conn_local_ip, data->info.conn_primary_ip, |