1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 17:18:48 -05:00

SOCKS: fix typo in printf formatting

Follow-up to 4a4b63daa

Reported-by: Peter Piekarski
Bug: 4a4b63daaa (r37351330)
This commit is contained in:
Daniel Stenberg 2020-02-18 12:54:02 +01:00
parent d79ee4ae32
commit 3735107d62
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -838,7 +838,7 @@ CURLcode Curl_SOCKS5(const char *proxy_user,
socksreq[len++] = (char) hostname_len; /* one byte address length */ socksreq[len++] = (char) hostname_len; /* one byte address length */
memcpy(&socksreq[len], hostname, hostname_len); /* address w/o NULL */ memcpy(&socksreq[len], hostname, hostname_len); /* address w/o NULL */
len += hostname_len; len += hostname_len;
infof(data, "SOCKS5 connect to %s:5d (remotely resolved)\n", infof(data, "SOCKS5 connect to %s:%d (remotely resolved)\n",
hostname, remote_port); hostname, remote_port);
} }
/* FALLTHROUGH */ /* FALLTHROUGH */