remove useless message

don't complain about missing greeting response - we already complained
about an unexpected EOF anyway.
This commit is contained in:
Oswald Buddenhagen 2010-09-26 15:26:16 +02:00
parent 90a38ea810
commit 70e87eb99e

View File

@ -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" );