summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-13 11:08:15 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-13 11:08:15 (GMT)
commit6ff9d9ffedaaa5ecb6cdcf252aedd06cf7627085 (patch) (side-by-side diff)
treef0de7c4ff46570ecc3c7905d312d868b45ffc15e /src
parent9dde36b84f2293545e1e5c224fbf6b25332467a6 (diff)
downloadwydawca-6ff9d9ffedaaa5ecb6cdcf252aedd06cf7627085.tar.gz
wydawca-6ff9d9ffedaaa5ecb6cdcf252aedd06cf7627085.tar.bz2
Minor change.
* src/wydawca.c: Setup MU streams properly.
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/directive.c2
-rw-r--r--src/wydawca.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/directive.c b/src/directive.c
index c1c0919..119b221 100644
--- a/src/directive.c
+++ b/src/directive.c
@@ -476,7 +476,7 @@ run_check_script (const char *script, struct file_triplet *trp,
setenv ("WYDAWCA_DIST_FILE", trp->file[file_dist].name, 1);
chdir (temp_homedir);
-
+
argv[0] = "sh";
argv[1] = script_file;
argv[2] = NULL;
diff --git a/src/wydawca.c b/src/wydawca.c
index 0b9db95..c8362f0 100644
--- a/src/wydawca.c
+++ b/src/wydawca.c
@@ -304,6 +304,7 @@ main (int argc, char **argv)
program_name = argv[0];
mu_register_all_mailer_formats ();
+ mu_stdstream_setup ();
config_init ();
x_argv = argv;
@@ -345,6 +346,7 @@ main (int argc, char **argv)
{
openlog (syslog_tag, LOG_PID, log_facility);
log_printer = syslog_printer;
+ mu_stdstream_strerr_setup (MU_STRERR_SYSLOG);
}
if (getgid () == 0)

Return to:

Send suggestions and report system problems to the System administrator.