fix printf-style format strings
This commit is contained in:
@@ -397,13 +397,13 @@ static CURLcode bindlocal(struct connectdata *conn,
|
||||
error, Curl_strerror(conn, error));
|
||||
return CURLE_INTERFACE_FAILED;
|
||||
}
|
||||
infof(data, "Local port: %d\n", port);
|
||||
infof(data, "Local port: %hu\n", port);
|
||||
conn->bits.bound = TRUE;
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
if(--portnum > 0) {
|
||||
infof(data, "Bind to local port %d failed, trying next\n", port);
|
||||
infof(data, "Bind to local port %hu failed, trying next\n", port);
|
||||
port++; /* try next port */
|
||||
/* We re-use/clobber the port variable here below */
|
||||
if(sock->sa_family == AF_INET)
|
||||
|
||||
Reference in New Issue
Block a user