string formatting: fix 25+ printf-style format strings

This commit is contained in:
Yang Tse 2013-07-23 15:59:07 +02:00
parent 1a593191c2
commit de052ca6fc
12 changed files with 56 additions and 34 deletions

View file

@ -392,7 +392,7 @@ static void state(struct connectdata *conn, sshstate nowstate)
#if defined(DEBUGBUILD) && !defined(CURL_DISABLE_VERBOSE_STRINGS)
if(sshc->state != nowstate) {
infof(conn->data, "SFTP %p state change from %s to %s\n",
sshc, names[sshc->state], names[nowstate]);
(void *)sshc, names[sshc->state], names[nowstate]);
}
#endif