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
1d85eecd
...
1d85eecdc90a19ca4a59f6642f43fedee3c12cd3
authored
2002-01-22 15:24:34 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added configurable debugging.
1 parent
56f5f349
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
mail.local/script.c
mail.local/script.c
View file @
1d85eec
...
...
@@ -20,6 +20,8 @@
#ifdef WITH_GUILE
#include <mu_scm.h>
int
debug_guile
;
SCM
mda_catch_body
(
void
*
data
,
mailbox_t
mbox
);
SCM
mda_catch_handler
(
void
*
unused
,
SCM
tag
,
SCM
throw_args
);
int
mda_next
(
void
*
data
,
mailbox_t
mbox
);
...
...
@@ -46,7 +48,7 @@ prog_mda (struct mda_data *data)
unlink
(
data
->
tempfile
);
param
.
debug_guile
=
1
/*FIXME*/
;
param
.
debug_guile
=
debug_guile
;
param
.
mbox
=
mbox
;
param
.
user_name
=
NULL
;
param
.
init
=
mda_init
;
...
...
@@ -75,7 +77,8 @@ mda_catch_body (void *data, mailbox_t mbox)
if
(
access
(
md
->
progfile
,
R_OK
))
{
syslog
(
LOG_ERR
,
"access to %s failed: %m"
,
md
->
progfile
);
if
(
debug_level
>
2
)
syslog
(
LOG_DEBUG
,
"access to %s failed: %m"
,
md
->
progfile
);
}
else
scm_primitive_load
(
scm_makfrom0str
(
md
->
progfile
));
...
...
Please
register
or
sign in
to post a comment