Explorar o código

remove useless message

don't complain about missing greeting response - we already complained
about an unexpected EOF anyway.
Oswald Buddenhagen %!s(int64=14) %!d(string=hai) anos
pai
achega
70e87eb99e
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      src/drv_imap.c

+ 1 - 3
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" );