From 44341377c7603e47ba78b3a07e9c7e4edf03e4c9 Mon Sep 17 00:00:00 2001 From: Michael Hampton Date: Sun, 21 Mar 2004 22:51:54 +0000 Subject: [PATCH] * Fix a few remaining lprintf(9, ...) to lprintf(CTDL_DEBUG, ...) --- citadel/ChangeLog | 4 +++- citadel/housekeeping.c | 2 +- citadel/room_ops.c | 2 +- citadel/serv_imap.c | 8 ++++---- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index df2e33013..fbf3a9157 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -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 Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/housekeeping.c b/citadel/housekeeping.c index da86e19c3..788fd913b 100644 --- a/citadel/housekeeping.c +++ b/citadel/housekeeping.c @@ -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]); } } diff --git a/citadel/room_ops.c b/citadel/room_ops.c index 242025627..2edaeb98f 100644 --- a/citadel/room_ops.c +++ b/citadel/room_ops.c @@ -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); diff --git a/citadel/serv_imap.c b/citadel/serv_imap.c index 1646b1fa6..03831e454 100644 --- a/citadel/serv_imap.c +++ b/citadel/serv_imap.c @@ -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"); } -- 2.30.2