summaryrefslogtreecommitdiffabout
path: root/src/main.c
authorSergey Poznyakoff <gray@gnu.org.ua>2011-11-21 12:55:27 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-11-21 12:55:27 (GMT)
commit2ef494a70b8c73be38d8727d44e8d2253bf007a6 (patch) (side-by-side diff)
treea3191468ed1343baf13852916ff95b2fc75d0488 /src/main.c
parent0f96af3207fbba16972fb57787e429e5d4b6a98c (diff)
downloadmailfromd-2ef494a70b8c73be38d8727d44e8d2253bf007a6.tar.gz
mailfromd-2ef494a70b8c73be38d8727d44e8d2253bf007a6.tar.bz2
More fixes. Use mu_list_foreach instead of mu_list_do.
* Makefile.am (SUBDIRS): Use mflib after src, so that make check uses the freshly built version of mailfromd. * lib/userprivs.c: Use mu_list_foreach instead of mu_list_do * mtasim/mtasim.c: Likewise. * pmult/pmult.c: Likewise. * src/builtin/mbox.bi: Likewise. * src/builtin/msg.bi: Likewise. * src/engine.c: Likewise. * src/gram.y: Likewise. * src/main.c: Likewise. * src/pp.c: Likewise.
Diffstat (limited to 'src/main.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index ba0c0f5..b833a0c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -271,7 +271,7 @@ load_relay_file(void *item, void *data)
static void
set_relay(void *value)
{
- mu_list_do(value, load_relay_file, NULL);
+ mu_list_foreach(value, load_relay_file, NULL);
}
void
@@ -472,7 +472,7 @@ flush_arguments(struct arguments *args)
if (args->trace != ARG_UNSET)
do_trace = args->trace;
if (args->trace_modules) {
- mu_list_do(args->trace_modules, flush_trace_module, NULL);
+ mu_list_foreach(args->trace_modules, flush_trace_module, NULL);
mu_list_destroy(&args->trace_modules);
}
}
@@ -858,7 +858,7 @@ cb_trace_program(void *data, mu_config_value_t *val)
break;
case MU_CFG_LIST:
- mu_list_do(val->v.list, flush_trace_module, NULL);
+ mu_list_foreach(val->v.list, flush_trace_module, NULL);
break;
}
return rc;
@@ -873,7 +873,7 @@ cb_relayed_domain_file(void *data, mu_config_value_t *val)
break;
case MU_CFG_LIST:
- mu_list_do(val->v.list, load_relay_file, NULL);
+ mu_list_foreach(val->v.list, load_relay_file, NULL);
break;
default:

Return to:

Send suggestions and report system problems to the System administrator.