aboutsummaryrefslogtreecommitdiff
path: root/lib/smtp.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-07-23 15:59:07 +0200
committerYang Tse <yangsita@gmail.com>2013-07-24 01:21:26 +0200
commitde052ca6fc1c73e2857801a1bcf48c18910bec40 (patch)
treee4254800ae856c194a61efdb61bd07ea35013c04 /lib/smtp.c
parent1a593191c2769a47b8c3e4d9715ec9f6dddf5e36 (diff)
string formatting: fix 25+ printf-style format strings
Diffstat (limited to 'lib/smtp.c')
-rw-r--r--lib/smtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smtp.c b/lib/smtp.c
index 065c7037f..04b33d0c4 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -337,7 +337,7 @@ static void state(struct connectdata *conn, smtpstate newstate)
if(smtpc->state != newstate)
infof(conn->data, "SMTP %p state change from %s to %s\n",
- smtpc, names[smtpc->state], names[newstate]);
+ (void *)smtpc, names[smtpc->state], names[newstate]);
#endif
smtpc->state = newstate;