diff options
Diffstat (limited to 'src/irc.c')
| -rw-r--r-- | src/irc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,6 +14,7 @@ #include "kgetc.h" #include "streq.h" #include "timers.h" +#include "memclear.h" #ifndef VERSION #define VERSION "?????" @@ -119,7 +120,7 @@ static void do_priv_nick(void) { the compiled code smaller, but it grew by ~50 bytes. avoid. */ static void print_ping_time(char *p) { - extern void calc_ping_time(unsigned int j); + extern void calc_ping_time(char *p); scr_print_active("*** "); scr_print_active(msg_src); @@ -567,7 +568,7 @@ static void parse_msg(void) { if(!*msgbuf) return; msg_cmd = msg_text = msg_src = msg_dest = 0; - memset(msg_args, 0, sizeof(msg_args)); + memclear(msg_args, sizeof(msg_args)); /* first token is either the source (with a :) or a command (without) */ if(*msgbuf == ':') { |
