diff options
author | Yang Tse <yangsita@gmail.com> | 2010-02-04 19:44:31 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-02-04 19:44:31 +0000 |
commit | 7aef172a347a0422a0968fde9c487639ff673383 (patch) | |
tree | 56ffb38d50520aa2a62aefa24a592381ecec4193 /lib/ldap.c | |
parent | f47b84b57ff74915820d26efc30459158bbe5c9c (diff) |
fix printf-style format strings
Diffstat (limited to 'lib/ldap.c')
-rw-r--r-- | lib/ldap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ldap.c b/lib/ldap.c index 1b86e5925..fcd56b9e9 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -262,7 +262,7 @@ static CURLcode Curl_ldap(struct connectdata *conn, bool *done) } server = ldapssl_init(conn->host.name, (int)conn->port, 1); if(server == NULL) { - failf(data, "LDAP local: Cannot connect to %s:%d", + failf(data, "LDAP local: Cannot connect to %s:%hu", conn->host.name, conn->port); status = CURLE_COULDNT_CONNECT; goto quit; @@ -302,7 +302,7 @@ static CURLcode Curl_ldap(struct connectdata *conn, bool *done) } server = ldap_init(conn->host.name, (int)conn->port); if(server == NULL) { - failf(data, "LDAP local: Cannot connect to %s:%d", + failf(data, "LDAP local: Cannot connect to %s:%hu", conn->host.name, conn->port); status = CURLE_COULDNT_CONNECT; goto quit; @@ -337,7 +337,7 @@ static CURLcode Curl_ldap(struct connectdata *conn, bool *done) } else { server = ldap_init(conn->host.name, (int)conn->port); if(server == NULL) { - failf(data, "LDAP local: Cannot connect to %s:%d", + failf(data, "LDAP local: Cannot connect to %s:%hu", conn->host.name, conn->port); status = CURLE_COULDNT_CONNECT; goto quit; |