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
5c2e34cb
...
5c2e34cbaedb5ea376e4d73676ebdcde2360f612
authored
2002-01-19 20:31:52 +0000
by
Sam Roberts
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Was setting debug on the mailbox before creating it...
1 parent
5887db14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
sieve/sieve.c
sieve/sieve.c
View file @
5c2e34c
...
...
@@ -226,8 +226,7 @@ main (int argc, char *argv[])
fprintf
(
stderr
,
"mu_debug_create failed: %s
\n
"
,
strerror
(
rc
));
goto
cleanup
;
}
if
((
rc
=
mu_debug_set_level
(
debug
,
opt_debug_level
)))
if
((
rc
=
mu_debug_set_level
(
debug
,
opt_debug_level
)))
{
fprintf
(
stderr
,
"mu_debug_set_level failed: %s
\n
"
,
strerror
(
rc
));
goto
cleanup
;
...
...
@@ -237,7 +236,6 @@ main (int argc, char *argv[])
fprintf
(
stderr
,
"mu_debug_set_print failed: %s
\n
"
,
strerror
(
rc
));
goto
cleanup
;
}
mailbox_set_debug
(
mbox
,
debug
);
}
/* Create, give a ticket to, and open the mailbox. */
...
...
@@ -247,7 +245,12 @@ main (int argc, char *argv[])
opt_mbox
?
opt_mbox
:
"default"
,
strerror
(
rc
));
goto
cleanup
;
}
if
(
debug
&&
(
rc
=
mailbox_set_debug
(
mbox
,
debug
)))
{
fprintf
(
stderr
,
"mailbox_set_debug failed: %s
\n
"
,
strerror
(
rc
));
goto
cleanup
;
}
if
(
ticket
)
{
...
...
Please
register
or
sign in
to post a comment