int got_it;
char buf [POPBUFSIZE+1];
snprintf(buf, sizeof(buf), "TOP %d 1", num);
- if ((ok = gen_transact(sock, buf )) != 0)
+ if ((ok = gen_transact(sock, "%s", buf)) != 0)
return ok;
got_it = 0;
while ((ok = gen_recv(sock, buf, sizeof(buf))) == 0)
if (partial_message_size_used != 0)
{
partial_message_size_used = 0;
- report(errfp, partial_message);
+ report(errfp, "%s", partial_message);
partial_suppress_tag = 1;
}
}
{
SockPrintf(sock, "*\r\n");
SockRead(sock, smtp_response, sizeof(smtp_response) - 1);
- if (outlevel >= O_MONITOR) report(stdout, msg);
+ if (outlevel >= O_MONITOR) report(stdout, "%s", msg);
}
static void SMTP_auth(int sock, char smtp_mode, char *username, char *password, char *buf)