mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 17:18:48 -05:00
SOCKS: fix typo in printf formatting
Follow-up to4a4b63daa
Reported-by: Peter Piekarski Bug:4a4b63daaa (r37351330)
This commit is contained in:
parent
d79ee4ae32
commit
3735107d62
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user