* Fix a few remaining lprintf(9, ...) to lprintf(CTDL_DEBUG, ...)
authorMichael Hampton <io_error@uncensored.citadel.org>
Sun, 21 Mar 2004 22:51:54 +0000 (22:51 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Sun, 21 Mar 2004 22:51:54 +0000 (22:51 +0000)
citadel/ChangeLog
citadel/housekeeping.c
citadel/room_ops.c
citadel/serv_imap.c

index df2e330136dbfa7eaf1e28fb32a9378444d76843..fbf3a91572a75cb119f6a1d5bb7586c73c70201e 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 614.93  2004/03/21 22:51:54  error
+ * Fix a few remaining lprintf(9, ...) to lprintf(CTDL_DEBUG, ...)
+
  Revision 614.92  2004/03/21 22:35:20  error
  * stress.c: Wait before posting instead of after posting.
 
@@ -5577,4 +5580,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
index da86e19c3776b9adb5b78753c6691338b9f45520..788fd913bae76f7b6fcb3d71d53fe136cfefe529 100644 (file)
@@ -125,7 +125,7 @@ void check_ref_counts(void) {
                        flbuf.f_flags = flbuf.f_flags & ~QR_INUSE;
                }
                lputfloor(&flbuf, a);
-               lprintf(9, "Floor %d: %d rooms\n", a, new_refcounts[a]);
+               lprintf(CTDL_DEBUG, "Floor %d: %d rooms\n", a, new_refcounts[a]);
        }
 }      
 
index 242025627fc5588cce0af02d59bdadb18cbfa8b4..2edaeb98f637d0c47e21e9eca96836d050ebd0f1 100644 (file)
@@ -349,7 +349,7 @@ struct floor *cgetfloor(int floor_num) {
        end_critical_section(S_FLOORCACHE);
 
        if (fetch_new) {
-               lprintf(9, "fetch_new is active ... going to disk\n");
+               lprintf(CTDL_DEBUG, "fetch_new is active ... going to disk\n");
                fl = mallok(sizeof(struct floor));
                getfloor(fl, floor_num);
                begin_critical_section(S_FLOORCACHE);
index 1646b1fa634deacc628a58a0202941b8398c42bd..03831e45404e60f7d59d940864d47eabeb90e18f 100644 (file)
@@ -799,7 +799,7 @@ void imap_create(int num_parms, char *parms[])
        if (strchr(parms[2], '\\') != NULL) {
                cprintf("%s NO Invalid character in folder name\r\n",
                        parms[0]);
-               lprintf(9, "invalid character in folder name\n");
+               lprintf(CTDL_DEBUG, "invalid character in folder name\n");
                return;
        }
 
@@ -807,7 +807,7 @@ void imap_create(int num_parms, char *parms[])
        if (ret < 0) {
                cprintf("%s NO Invalid mailbox name or location\r\n",
                        parms[0]);
-               lprintf(9, "invalid mailbox name or location\n");
+               lprintf(CTDL_DEBUG, "invalid mailbox name or location\n");
                return;
        }
        floornum = (ret & 0x00ff);      /* lower 8 bits = floor number */
@@ -816,7 +816,7 @@ void imap_create(int num_parms, char *parms[])
        if (flags & IR_MAILBOX) {
                if (strncasecmp(parms[2], "INBOX|", 6)) {
                        cprintf("%s NO Personal folders must be created under INBOX\r\n", parms[0]);
-                       lprintf(9, "not subordinate to inbox\n");
+                       lprintf(CTDL_DEBUG, "not subordinate to inbox\n");
                        return;
                }
        }
@@ -838,7 +838,7 @@ void imap_create(int num_parms, char *parms[])
        } else {
                cprintf("%s OK CREATE completed\r\n", parms[0]);
        }
-       lprintf(9, "imap_create() completed\n");
+       lprintf(CTDL_DEBUG, "imap_create() completed\n");
 }