aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-10-21 00:30:10 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-10-21 00:30:10 +0000
commit97af3b28e935b786e61d46df1a0d73fd4c9a4eba (patch)
tree2a8b0ebb6c4486bf1ecea6372d38b2b32de05286 /fetchmail.c
parentf84d1f2f52fc176fdfa9ac1948690e04df4a1cf7 (diff)
downloadfetchmail-97af3b28e935b786e61d46df1a0d73fd4c9a4eba.tar.gz
fetchmail-97af3b28e935b786e61d46df1a0d73fd4c9a4eba.tar.bz2
fetchmail-97af3b28e935b786e61d46df1a0d73fd4c9a4eba.zip
Narrow the error() interface.
svn path=/trunk/; revision=1526
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