improved imap error message

This commit is contained in:
SJ 2015-05-22 11:36:36 +02:00
parent 7c3aa6b152
commit 842fc6b434

View File

@ -104,7 +104,7 @@ int process_imap_folder(int sd, int *seq, char *folder, struct session_data *sda
n = write1(sd, buf, strlen(buf), use_ssl, data->ssl); n = write1(sd, buf, strlen(buf), use_ssl, data->ssl);
if(read_response(sd, buf, sizeof(buf), seq, data, use_ssl) == 0){ if(read_response(sd, buf, sizeof(buf), seq, data, use_ssl) == 0){
trimBuffer(buf); trimBuffer(buf);
printf("error: %s\n", buf); printf("select cmd error: %s\n", buf);
return rc; return rc;
} }