Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
1997f19e
...
1997f19e4317704a2e9eec652c9efd97533984f5
authored
2004-01-15 09:33:45 +0000
by
Wojciech Polak
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Minor. Use only one message style while debugging.
1 parent
9449b984
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
mailbox/mbox/mbox.c
mailbox/mbox/mbox.c
View file @
1997f19
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2003,
2004 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -171,7 +172,7 @@ _mailbox_mbox_init (mailbox_t mailbox)
property_set_value
(
property
,
"TYPE"
,
"MBOX"
,
1
);
}
MAILBOX_DEBUG1
(
mailbox
,
MU_DEBUG_TRACE
,
"mbox_init(%s)
\n
"
,
mud
->
name
);
MAILBOX_DEBUG1
(
mailbox
,
MU_DEBUG_TRACE
,
"mbox_init
(%s)
\n
"
,
mud
->
name
);
return
0
;
/* okdoke */
}
...
...
@@ -264,7 +265,7 @@ mbox_open (mailbox_t mailbox, int flags)
return
status
;
}
MAILBOX_DEBUG2
(
mailbox
,
MU_DEBUG_TRACE
,
"mbox_open(%s, 0x%x)
\n
"
,
MAILBOX_DEBUG2
(
mailbox
,
MU_DEBUG_TRACE
,
"mbox_open
(%s, 0x%x)
\n
"
,
mud
->
name
,
mailbox
->
flags
);
if
(
mailbox
->
locker
==
NULL
)
...
...
@@ -281,7 +282,7 @@ mbox_close (mailbox_t mailbox)
if
(
mud
==
NULL
)
return
EINVAL
;
MAILBOX_DEBUG1
(
mailbox
,
MU_DEBUG_TRACE
,
"mbox_close(%s)
\n
"
,
mud
->
name
);
MAILBOX_DEBUG1
(
mailbox
,
MU_DEBUG_TRACE
,
"mbox_close
(%s)
\n
"
,
mud
->
name
);
/* Make sure that we do not hold any file locking. */
locker_unlock
(
mailbox
->
locker
);
...
...
@@ -327,7 +328,7 @@ mbox_scan (mailbox_t mailbox, size_t msgno, size_t *pcount)
{
size_t
i
;
mbox_data_t
mud
=
mailbox
->
data
;
MAILBOX_DEBUG1
(
mailbox
,
MU_DEBUG_TRACE
,
"mbox_scan(%s)
\n
"
,
mud
->
name
);
MAILBOX_DEBUG1
(
mailbox
,
MU_DEBUG_TRACE
,
"mbox_scan
(%s)
\n
"
,
mud
->
name
);
if
(
!
mbox_is_updated
(
mailbox
))
return
mbox_scan0
(
mailbox
,
msgno
,
pcount
,
1
);
/* 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)
return
0
;
}
MAILBOX_DEBUG2
(
mailbox
,
MU_DEBUG_TRACE
,
"mbox_get_message(%s, %d)
\n
"
,
MAILBOX_DEBUG2
(
mailbox
,
MU_DEBUG_TRACE
,
"mbox_get_message
(%s, %d)
\n
"
,
mud
->
name
,
msgno
);
/* Get an empty message struct. */
...
...
Please
register
or
sign in
to post a comment