From 3a97d196f9744a75a715cf3bc8bd0d36683e4ece Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 7 Sep 2010 18:39:57 -0400 Subject: Fixed make strict build and cleaned up some warnings --- src/core/ns_sendpass.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/ns_sendpass.c') diff --git a/src/core/ns_sendpass.c b/src/core/ns_sendpass.c index 3916155dc..fc80895dc 100644 --- a/src/core/ns_sendpass.c +++ b/src/core/ns_sendpass.c @@ -92,16 +92,16 @@ int do_sendpass(User * u) if (!mail) return MOD_CONT; - fprintf(mail->pipe, getstring(na, NICK_SENDPASS_HEAD)); + fprintf(mail->pipe, "%s", getstring(na, NICK_SENDPASS_HEAD)); fprintf(mail->pipe, "\n\n"); fprintf(mail->pipe, getstring(na, NICK_SENDPASS_LINE_1), na->nick); fprintf(mail->pipe, "\n\n"); fprintf(mail->pipe, getstring(na, NICK_SENDPASS_LINE_2), tmp_pass); fprintf(mail->pipe, "\n\n"); - fprintf(mail->pipe, getstring(na, NICK_SENDPASS_LINE_3)); + fprintf(mail->pipe, "%s", getstring(na, NICK_SENDPASS_LINE_3)); fprintf(mail->pipe, "\n\n"); - fprintf(mail->pipe, getstring(na, NICK_SENDPASS_LINE_4)); + fprintf(mail->pipe, "%s", getstring(na, NICK_SENDPASS_LINE_4)); fprintf(mail->pipe, "\n\n"); fprintf(mail->pipe, getstring(na, NICK_SENDPASS_LINE_5), NetworkName); -- cgit