aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-17 03:35:47 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-17 03:35:47 +0000
commitfc419ebe556740691eeffb96a0f90073a28a8d66 (patch)
treeb52cd796efaeb0b1829726c2d0e060f53d152435 /imap.c
parentfec09e4a35c2912e3d1529412b75f5d9563c0684 (diff)
downloadfetchmail-fc419ebe556740691eeffb96a0f90073a28a8d66.tar.gz
fetchmail-fc419ebe556740691eeffb96a0f90073a28a8d66.tar.bz2
fetchmail-fc419ebe556740691eeffb96a0f90073a28a8d66.zip
More through error conversion.
svn path=/trunk/; revision=644
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/imap.c b/imap.c
index 12f53719..8d9350a6 100644
--- a/imap.c
+++ b/imap.c
@@ -29,7 +29,7 @@ int imap_ok (FILE *sockfp, char *argbuf)
return(PS_SOCKET);
if (outlevel == O_VERBOSE)
- fprintf(stderr,"%s\n",buf);
+ error(0, 0, buf);
/* interpret untagged status responses */
if (strstr(buf, "EXISTS"))
@@ -123,7 +123,7 @@ static int imap_getsizes(FILE *sockfp, int count, int *sizes)
int num, size;
if (outlevel == O_VERBOSE)
- fprintf(stderr,"%s\n",buf);
+ error(0, 0, buf);
if (strstr(buf, "OK"))
break;
else if (sscanf(buf, "* %d FETCH (RFC822.SIZE %d)", &num, &size) == 2)