diff options
author | Yang Tse <yangsita@gmail.com> | 2013-07-23 15:59:07 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-07-24 01:21:26 +0200 |
commit | de052ca6fc1c73e2857801a1bcf48c18910bec40 (patch) | |
tree | e4254800ae856c194a61efdb61bd07ea35013c04 /lib/connect.c | |
parent | 1a593191c2769a47b8c3e4d9715ec9f6dddf5e36 (diff) |
string formatting: fix 25+ printf-style format strings
Diffstat (limited to 'lib/connect.c')
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index be8c0e45a..2b5719d12 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -1144,7 +1144,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */ if(sockfd == CURL_SOCKET_BAD) { /* no good connect was made */ - failf(data, "couldn't connect to %s at %s:%d", + failf(data, "couldn't connect to %s at %s:%ld", conn->bits.proxy?"proxy":"host", conn->bits.proxy?conn->proxy.name:conn->host.name, conn->port); return CURLE_COULDNT_CONNECT; |