diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-19 16:46:36 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-19 16:46:36 +0000 |
commit | d3479000db65f685672d7d7a2a244f1e1e46be90 (patch) | |
tree | 54a69ecda5107f18229ac436fc19d96a7e66ef0b /driver.c | |
parent | 804b7d2c006daad0f3f9990061a6cda01a398aa7 (diff) | |
download | fetchmail-d3479000db65f685672d7d7a2a244f1e1e46be90.tar.gz fetchmail-d3479000db65f685672d7d7a2a244f1e1e46be90.tar.bz2 fetchmail-d3479000db65f685672d7d7a2a244f1e1e46be90.zip |
Error message correction.
svn path=/trunk/; revision=789
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -705,8 +705,11 @@ char *realname; /* real name of host */ strcat(errmsg, "\n"); - if (sinkfp) - fputs(errmsg, sinkfp); + /* ship out the error line */ + if (ctl->mda) + fwrite(errmsg, 1, strlen(errmsg), sinkfp); + else if (sinkfp) + SockWrite(errmsg, 1, strlen(errmsg), sinkfp); } free_str_list(&xmit_names); |