diff options
Diffstat (limited to 'src/wydawca.c')
-rw-r--r-- | src/wydawca.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wydawca.c b/src/wydawca.c index d210717..509947b 100644 --- a/src/wydawca.c +++ b/src/wydawca.c @@ -43,13 +43,13 @@ int single_process_option = -1; int daemon_mode = 0; int foreground; int single_process; time_t wakeup_interval; gl_list_t all_spool_aliases; -struct gconf_sockaddr listen_sockaddr; +struct grecs_sockaddr listen_sockaddr; unsigned wydawca_stat[MAX_STAT]; void initstats () { @@ -212,13 +212,13 @@ logstats () mail_stats (); } void -gconf_print_diag (gconf_locus_t *locus, int err, int errcode, const char *msg) +grecs_print_diag (grecs_locus_t *locus, int err, int errcode, const char *msg) { if (locus) { if (errcode) logmsg (err ? LOG_ERR : LOG_WARNING, "%s:%lu: %s: %s", locus->file, (unsigned long)locus->line, msg, @@ -307,15 +307,15 @@ main (int argc, char **argv) argc -= optind; if (argc) collect_uids (argc, argv); if (preprocess_only) - exit (gconf_preproc_run (conffile, gconf_preprocessor) ? EX_CONFIG : 0); + exit (grecs_preproc_run (conffile, grecs_preprocessor) ? EX_CONFIG : 0); - if (gconf_parse (conffile)) + if (grecs_parse (conffile)) exit (EX_CONFIG); if (lint_mode) exit (0); if (dry_run_mode) @@ -327,13 +327,13 @@ main (int argc, char **argv) if (single_process_option >= 0) single_process = single_process_option; if (log_to_stderr == -1) log_to_stderr = (!daemon_mode || foreground) && isatty (0); - gconf_log_to_stderr = log_to_stderr; + grecs_log_to_stderr = log_to_stderr; if (!log_to_stderr) { openlog (syslog_tag, LOG_PID, log_facility); log_printer = syslog_printer; } |