diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-09-12 05:06:14 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-09-12 05:06:14 +0000 |
commit | 3490078bdc134e2464dfb35711b6e08dfad7a8da (patch) | |
tree | 8b4210994aaa05851dba5a791d1a2a8b7bf6c001 | |
parent | 9b8b358a80813f0853f63fbce9ec28b7cab2c949 (diff) | |
download | fetchmail-3490078bdc134e2464dfb35711b6e08dfad7a8da.tar.gz fetchmail-3490078bdc134e2464dfb35711b6e08dfad7a8da.tar.bz2 fetchmail-3490078bdc134e2464dfb35711b6e08dfad7a8da.zip |
More informative error messages.
svn path=/trunk/; revision=86
-rw-r--r-- | driver.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -673,7 +673,7 @@ int rewrite; } if (write(mboxfd,fromBuf,strlen(fromBuf)) < 0) { - perror("gen_readmsg: write"); + perror("gen_readmsg: writing From header"); return(PS_IOERR); } break; @@ -686,7 +686,7 @@ int rewrite; { free(headers); headers = NULL; - perror("gen_readmsg: write"); + perror("gen_readmsg: writing RFC822 headers"); return(PS_IOERR); } free(headers); @@ -696,7 +696,7 @@ int rewrite; /* write this line to the file */ if (write(mboxfd,bufp,strlen(bufp)) < 0) { - perror("gen_readmsg: write"); + perror("gen_readmsg: writing message text"); return(PS_IOERR); } @@ -725,7 +725,7 @@ int rewrite; /* The server may not write the extra newline required by the Unix mail folder format, so we write one here just in case */ if (write(mboxfd,"\n",1) < 0) { - perror("gen_readmsg: write"); + perror("gen_readmsg: writing terminator"); return(PS_IOERR); } break; @@ -735,7 +735,7 @@ int rewrite; it has been defined */ #ifdef BINMAIL_TERM if (write(mboxfd,BINMAIL_TERM,strlen(BINMAIL_TERM)) < 0) { - perror("gen_readmsg: write"); + perror("gen_readmsg: writing terminator"); return(PS_IOERR); } #endif /* BINMAIL_TERM */ |