From 70e87eb99e125bb40a8a0af754222f434665dd95 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sun, 26 Sep 2010 15:26:16 +0200 Subject: [PATCH] remove useless message don't complain about missing greeting response - we already complained about an unexpected EOF anyway. --- src/drv_imap.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/drv_imap.c b/src/drv_imap.c index 7ddf81e..64abbfd 100644 --- a/src/drv_imap.c +++ b/src/drv_imap.c @@ -1394,10 +1394,8 @@ imap_open_store( store_conf_t *conf, #endif /* read the greeting string */ - if (buffer_gets( &ctx->buf, &rsp )) { - error( "IMAP error: no greeting response\n" ); + if (buffer_gets( &ctx->buf, &rsp )) goto bail; - } arg = next_arg( &rsp ); if (!arg || *arg != '*' || (arg = next_arg( &rsp )) == NULL) { error( "IMAP error: invalid greeting response\n" );