1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 22:23:12 +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
@@ -385,7 +385,7 @@ static void new_memo_mail(NickCore * nc, Memo * m)
fprintf(mail->pipe, getstring2(NULL, MEMO_MAIL_TEXT2), m->sender,
m->number);
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, getstring2(NULL, MEMO_MAIL_TEXT3));
fprintf(mail->pipe, "%s", getstring2(NULL, MEMO_MAIL_TEXT3));
fprintf(mail->pipe, "\n\n");
fprintf(mail->pipe, "%s", m->text);
fprintf(mail->pipe, "\n");
@@ -425,10 +425,10 @@ void rsend_notify(User * u, Memo * m, const char *chan)
nick or channel */
if (chan) {
fmt = getstring(na, MEMO_RSEND_CHAN_MEMO_TEXT);
sprintf(text, fmt, chan);
snprintf(text, sizeof(text), fmt, chan);
} else {
fmt = getstring(na, MEMO_RSEND_NICK_MEMO_TEXT);
sprintf(text, fmt);
snprintf(text, sizeof(text), "%s", fmt);
}
/* Send notification */