aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-07-04 13:56:25 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-07-04 13:56:25 +0300
commit389df35de865d8218a36dde9cf25a0c8692b9807 (patch)
treee65222b4cb1368d0f35c308a8bac69bb49ed7e50 /src/main.c
parent644958871b7c1f353b4981860b9f7b04900940e5 (diff)
downloadmailfromd-389df35de865d8218a36dde9cf25a0c8692b9807.tar.gz
mailfromd-389df35de865d8218a36dde9cf25a0c8692b9807.tar.bz2
Bugfix
* lib/syslog_async.c (find_percent_m): Fix endless loop.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index d99183a9..090be692 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1142,20 +1142,20 @@ open_strecho (int daemon_mode)
1142 } else { 1142 } else {
1143#if 0 1143#if 0
1144 mf_strecho = mu_strout; 1144 mf_strecho = mu_strout;
1145 mu_stream_ref(mf_strecho); 1145 mu_stream_ref(mf_strecho);
1146 rc = 0; 1146 rc = 0;
1147#else 1147#else
1148 rc = mu_stdio_stream_create (&mf_strecho, MU_STDERR_FD, 0); 1148 rc = mu_stdio_stream_create(&mf_strecho, MU_STDERR_FD, 0);
1149#endif 1149#endif
1150 } 1150 }
1151 if (rc) { 1151 if (rc) {
1152 mu_diag_output (MU_LOG_CRIT, 1152 mu_diag_output(MU_LOG_CRIT,
1153 _("cannot create echo output stream: %s"), 1153 _("cannot create echo output stream: %s"),
1154 mu_strerror (rc)); 1154 mu_strerror(rc));
1155 exit (EX_UNAVAILABLE); 1155 exit(EX_UNAVAILABLE);
1156 } 1156 }
1157} 1157}
1158 1158
1159 1159
1160extern char **environ; 1160extern char **environ;
1161 1161

Return to:

Send suggestions and report system problems to the System administrator.