Loading Makefile.common +1 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ WARNINGS = \ -Wformat=2 \ -Wformat-security \ -Wformat-nonliteral \ -Wtype-limits \ -Wno-long-long \ -Wno-strict-aliasing \ Loading src/client/command.c +1 −1 Original line number Diff line number Diff line Loading @@ -83,5 +83,5 @@ CommandList table[]={ {"wiz", 0x002, 1, "Usage: wiz <message>", "Send message to all wizchat users", c_wiz, 1}, {"wizchat", 0x002, 1, "Usage: wizchat on|off", "Toggle wizchat", c_wizchat, 1}, {"write", 0x000, 0, "Usage: write", "Post a message to the current folder", c_write, 1}, {NULL, 0x000, 0, NULL, NULL, 0} {NULL, 0x000, 0, NULL, NULL, NULL, 0} }; src/client/mesg.c +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ extern struct user * const user; void inform_of_mail(char *to) { if (ipc_send_to_username(to, IPC_NEWMAIL, NULL) < 0) if (ipc_send_to_username(to, IPC_NEWMAIL, NULL) != 0) printf(_("Cannot inform %s of new mail.\n"),to); } Loading src/client/talker.c +0 −8 Original line number Diff line number Diff line Loading @@ -260,14 +260,6 @@ void t_runaway(CommandList *cm, int argc, const char **argv, char *args) return; } } else { if (num < 0) { printf("Invalid Runaway. Must be positive (0 disables)\n"); return; } } run_away = num; if (run_away == 0) printf("Runaway disabled\n"); else printf("Runaway set to value: %lu\n", run_away); Loading Loading
Makefile.common +1 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ WARNINGS = \ -Wformat=2 \ -Wformat-security \ -Wformat-nonliteral \ -Wtype-limits \ -Wno-long-long \ -Wno-strict-aliasing \ Loading
src/client/command.c +1 −1 Original line number Diff line number Diff line Loading @@ -83,5 +83,5 @@ CommandList table[]={ {"wiz", 0x002, 1, "Usage: wiz <message>", "Send message to all wizchat users", c_wiz, 1}, {"wizchat", 0x002, 1, "Usage: wizchat on|off", "Toggle wizchat", c_wizchat, 1}, {"write", 0x000, 0, "Usage: write", "Post a message to the current folder", c_write, 1}, {NULL, 0x000, 0, NULL, NULL, 0} {NULL, 0x000, 0, NULL, NULL, NULL, 0} };
src/client/mesg.c +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ extern struct user * const user; void inform_of_mail(char *to) { if (ipc_send_to_username(to, IPC_NEWMAIL, NULL) < 0) if (ipc_send_to_username(to, IPC_NEWMAIL, NULL) != 0) printf(_("Cannot inform %s of new mail.\n"),to); } Loading
src/client/talker.c +0 −8 Original line number Diff line number Diff line Loading @@ -260,14 +260,6 @@ void t_runaway(CommandList *cm, int argc, const char **argv, char *args) return; } } else { if (num < 0) { printf("Invalid Runaway. Must be positive (0 disables)\n"); return; } } run_away = num; if (run_away == 0) printf("Runaway disabled\n"); else printf("Runaway set to value: %lu\n", run_away); Loading