1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 09:16:38 +02:00

Fixed make strict build and cleaned up some warnings

This commit is contained in:
Adam
2010-09-07 18:39:57 -04:00
parent 7dfc8e8ee8
commit 3a97d196f9
10 changed files with 36 additions and 36 deletions
+3 -3
View File
@@ -95,7 +95,7 @@ int do_sendpass(User * u)
if (!mail)
return MOD_CONT;
fprintf(mail->pipe, getstring2(founder, CHAN_SENDPASS_HEAD));
fprintf(mail->pipe, "%s", getstring2(founder, CHAN_SENDPASS_HEAD));
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring2(founder, CHAN_SENDPASS_LINE_1),
ci->name);
@@ -103,9 +103,9 @@ int do_sendpass(User * u)
fprintf(mail->pipe, getstring2(founder, CHAN_SENDPASS_LINE_2),
tmp_pass);
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring2(founder, CHAN_SENDPASS_LINE_3));
fprintf(mail->pipe, "%s", getstring2(founder, CHAN_SENDPASS_LINE_3));
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring2(founder, CHAN_SENDPASS_LINE_4));
fprintf(mail->pipe, "%s", getstring2(founder, CHAN_SENDPASS_LINE_4));
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring2(founder, CHAN_SENDPASS_LINE_5),
NetworkName);
+3 -3
View File
@@ -472,16 +472,16 @@ int do_sendregmail(User * u, NickRequest * nr)
if (!mail) {
return -1;
}
fprintf(mail->pipe, getstring2(NULL, NICK_REG_MAIL_HEAD));
fprintf(mail->pipe, "%s", getstring2(NULL, NICK_REG_MAIL_HEAD));
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring2(NULL, NICK_REG_MAIL_LINE_1), nr->nick);
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring2(NULL, NICK_REG_MAIL_LINE_2), s_NickServ,
nr->passcode);
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring2(NULL, NICK_REG_MAIL_LINE_3));
fprintf(mail->pipe, "%s", getstring2(NULL, NICK_REG_MAIL_LINE_3));
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring2(NULL, NICK_REG_MAIL_LINE_4));
fprintf(mail->pipe, "%s", getstring2(NULL, NICK_REG_MAIL_LINE_4));
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring2(NULL, NICK_REG_MAIL_LINE_5),
NetworkName);
+3 -3
View File
@@ -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);