diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-10-21 00:30:10 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-10-21 00:30:10 +0000 |
commit | 97af3b28e935b786e61d46df1a0d73fd4c9a4eba (patch) | |
tree | 2a8b0ebb6c4486bf1ecea6372d38b2b32de05286 /driver.c | |
parent | f84d1f2f52fc176fdfa9ac1948690e04df4a1cf7 (diff) | |
download | fetchmail-97af3b28e935b786e61d46df1a0d73fd4c9a4eba.tar.gz fetchmail-97af3b28e935b786e61d46df1a0d73fd4c9a4eba.tar.bz2 fetchmail-97af3b28e935b786e61d46df1a0d73fd4c9a4eba.zip |
Narrow the error() interface.
svn path=/trunk/; revision=1526
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1448,7 +1448,10 @@ const struct method *proto; /* protocol method table */ tagnum = 0; tag[0] = '\0'; /* nuke any tag hanging out from previous query */ ok = 0; - error_init(poll_interval == 0 && !logfile); + if (errors_to_syslog) + error_init(-1); + else + error_init(poll_interval == 0 && !logfile); /* set up the server-nonresponse timeout */ sigsave = signal(SIGALRM, timeout_handler); |