X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmsgbase.c;h=d9b570c83464e0c7d0e14d3c58a348e99e00b9bf;hb=35dedf8e228d90f180f97812d38783f2b1e99640;hp=076eee5e25bf7509748c419cb8690ed83b0b7038;hpb=167532a7d717b7818b21ce0f6ca25e7a5adc633c;p=citadel.git diff --git a/citadel/msgbase.c b/citadel/msgbase.c index 076eee5e2..d9b570c83 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -139,11 +139,11 @@ void get_mm(void) { */ void cmd_msgs(char *cmdbuf) { - int a; - int mode; + int a = 0; + int mode = 0; char which[256]; - int cm_howmany; - long cm_gt; + int cm_howmany = 0; + long cm_gt = 0L; extract(which,cmdbuf,0); @@ -651,6 +651,8 @@ long send_message(char *message_in_memory, /* pointer to buffer */ /* FIX ... rewrite this to simply check for the existence of the twitroom, * and create it if necessary. No slot-numbers will need to be loaded. + * (Actually, twitroom should be created during the same portion of startup + * that creates Lobby/Mail/Aide.) */ void loadtroom(void) { struct quickroom qrbuf;