Commit 1997f19e 1997f19e4317704a2e9eec652c9efd97533984f5 by Wojciech Polak

Minor. Use only one message style while debugging.

1 parent 9449b984
1 /* GNU Mailutils -- a suite of utilities for electronic mail 1 /* GNU Mailutils -- a suite of utilities for electronic mail
2 Copyright (C) 1999, 2000, 2001, 2003 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2000, 2001, 2003,
3 2004 Free Software Foundation, Inc.
3 4
4 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public 6 modify it under the terms of the GNU Lesser General Public
...@@ -171,7 +172,7 @@ _mailbox_mbox_init (mailbox_t mailbox) ...@@ -171,7 +172,7 @@ _mailbox_mbox_init (mailbox_t mailbox)
171 property_set_value (property, "TYPE", "MBOX", 1); 172 property_set_value (property, "TYPE", "MBOX", 1);
172 } 173 }
173 174
174 MAILBOX_DEBUG1 (mailbox, MU_DEBUG_TRACE, "mbox_init(%s)\n", mud->name); 175 MAILBOX_DEBUG1 (mailbox, MU_DEBUG_TRACE, "mbox_init (%s)\n", mud->name);
175 return 0; /* okdoke */ 176 return 0; /* okdoke */
176 } 177 }
177 178
...@@ -264,7 +265,7 @@ mbox_open (mailbox_t mailbox, int flags) ...@@ -264,7 +265,7 @@ mbox_open (mailbox_t mailbox, int flags)
264 return status; 265 return status;
265 } 266 }
266 267
267 MAILBOX_DEBUG2 (mailbox, MU_DEBUG_TRACE, "mbox_open(%s, 0x%x)\n", 268 MAILBOX_DEBUG2 (mailbox, MU_DEBUG_TRACE, "mbox_open (%s, 0x%x)\n",
268 mud->name, mailbox->flags); 269 mud->name, mailbox->flags);
269 270
270 if (mailbox->locker == NULL) 271 if (mailbox->locker == NULL)
...@@ -281,7 +282,7 @@ mbox_close (mailbox_t mailbox) ...@@ -281,7 +282,7 @@ mbox_close (mailbox_t mailbox)
281 if (mud == NULL) 282 if (mud == NULL)
282 return EINVAL; 283 return EINVAL;
283 284
284 MAILBOX_DEBUG1 (mailbox, MU_DEBUG_TRACE, "mbox_close(%s)\n", mud->name); 285 MAILBOX_DEBUG1 (mailbox, MU_DEBUG_TRACE, "mbox_close (%s)\n", mud->name);
285 286
286 /* Make sure that we do not hold any file locking. */ 287 /* Make sure that we do not hold any file locking. */
287 locker_unlock (mailbox->locker); 288 locker_unlock (mailbox->locker);
...@@ -327,7 +328,7 @@ mbox_scan (mailbox_t mailbox, size_t msgno, size_t *pcount) ...@@ -327,7 +328,7 @@ mbox_scan (mailbox_t mailbox, size_t msgno, size_t *pcount)
327 { 328 {
328 size_t i; 329 size_t i;
329 mbox_data_t mud = mailbox->data; 330 mbox_data_t mud = mailbox->data;
330 MAILBOX_DEBUG1 (mailbox, MU_DEBUG_TRACE, "mbox_scan(%s)\n", mud->name); 331 MAILBOX_DEBUG1 (mailbox, MU_DEBUG_TRACE, "mbox_scan (%s)\n", mud->name);
331 if (! mbox_is_updated (mailbox)) 332 if (! mbox_is_updated (mailbox))
332 return mbox_scan0 (mailbox, msgno, pcount, 1); 333 return mbox_scan0 (mailbox, msgno, pcount, 1);
333 /* Since the mailbox is already updated fake the scan. */ 334 /* Since the mailbox is already updated fake the scan. */
...@@ -1194,7 +1195,7 @@ mbox_get_message (mailbox_t mailbox, size_t msgno, message_t *pmsg) ...@@ -1194,7 +1195,7 @@ mbox_get_message (mailbox_t mailbox, size_t msgno, message_t *pmsg)
1194 return 0; 1195 return 0;
1195 } 1196 }
1196 1197
1197 MAILBOX_DEBUG2 (mailbox, MU_DEBUG_TRACE, "mbox_get_message(%s, %d)\n", 1198 MAILBOX_DEBUG2 (mailbox, MU_DEBUG_TRACE, "mbox_get_message (%s, %d)\n",
1198 mud->name, msgno); 1199 mud->name, msgno);
1199 1200
1200 /* Get an empty message struct. */ 1201 /* Get an empty message struct. */
......