aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index c6e3120b..4fde4363 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -167,7 +167,7 @@ int main (int argc, char **argv)
if (logfile)
printf("Logfile is %s\n", logfile);
#if defined(HAVE_SYSLOG)
- if (use_syslog)
+ if (errors_to_syslog)
printf("Progress messages will be logged via syslog\n");
#endif
if (use_invisible)
@@ -321,7 +321,7 @@ int main (int argc, char **argv)
* Maybe time to go to demon mode...
*/
#if defined(HAVE_SYSLOG)
- if (use_syslog)
+ if (errors_to_syslog)
openlog(program_name, LOG_PID, LOG_MAIL);
#endif