From 3735107d62ad28d6e25bd94109ab9f2454c22116 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 18 Feb 2020 12:54:02 +0100 Subject: SOCKS: fix typo in printf formatting Follow-up to 4a4b63daa Reported-by: Peter Piekarski Bug: https://github.com/curl/curl/commit/4a4b63daaa01ef59b131d91e8e6e6dfe275c0f08#r37351330 --- lib/socks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/socks.c') 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 */ -- cgit v1.2.3