diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-02-18 12:54:02 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-02-18 12:54:44 +0100 |
commit | 3735107d62ad28d6e25bd94109ab9f2454c22116 (patch) | |
tree | 076728607b2bcdbaf5203d3fd7346c5b55879fe6 /lib | |
parent | d79ee4ae32918ca10c336379d0a597d2ba83619a (diff) |
SOCKS: fix typo in printf formatting
Follow-up to 4a4b63daa
Reported-by: Peter Piekarski
Bug: https://github.com/curl/curl/commit/4a4b63daaa01ef59b131d91e8e6e6dfe275c0f08#r37351330
Diffstat (limited to 'lib')
-rw-r--r-- | lib/socks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/socks.c b/lib/socks.c index ba05602be..0fb97e1e5 100644 --- a/lib/socks.c +++ b/lib/socks.c @@ -838,7 +838,7 @@ CURLcode Curl_SOCKS5(const char *proxy_user, socksreq[len++] = (char) hostname_len; /* one byte address length */ memcpy(&socksreq[len], hostname, hostname_len); /* address w/o NULL */ 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); } /* FALLTHROUGH */ |