aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
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 /rcfile_y.y
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 'rcfile_y.y')
-rw-r--r--rcfile_y.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 13eb3d0d..e7505cbb 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -29,7 +29,7 @@ struct query cmd_opts; /* where to put command-line info */
/* parser sets these */
int poll_interval; /* poll interval in seconds */
char *logfile; /* log file for daemon mode */
-flag use_syslog; /* if syslog was set */
+flag errors_to_syslog; /* if syslog was set */
flag use_invisible; /* if invisible was set */
struct query *querylist; /* head of server list (globally visible) */
@@ -83,7 +83,7 @@ optmap : MAP | /* EMPTY */;
/* future global options should also have the form SET <name> optmap <value> */
statement : SET LOGFILE optmap STRING {logfile = xstrdup($4);}
| SET DAEMON optmap NUMBER {poll_interval = $4;}
- | SET SYSLOG {use_syslog = TRUE;}
+ | SET SYSLOG {errors_to_syslog = TRUE;}
| SET INVISIBLE {use_invisible = TRUE;}
/*