]> code.citadel.org Git - citadel.git/blobdiff - citadel/msgbase.c
* Removed code from some of the utilities which was still attempting
[citadel.git] / citadel / msgbase.c
index 9df77031a346aa775dfab3d4c879b8466b8326f3..d9b570c83464e0c7d0e14d3c58a348e99e00b9bf 100644 (file)
@@ -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);
 
@@ -649,7 +649,11 @@ 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;
        int a;
@@ -1220,7 +1224,7 @@ void cmd_dele(char *delstr)
 
 
 /*
- * move a message to another room
+ * move a message to another room    FIX  Rework this to use name indices
  */
 void cmd_move(char *args)
 {