mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-11-04 02:42:27 +01:00 
			
		
		
		
	improved imap error message
This commit is contained in:
		@@ -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;
 | 
				
			||||||
   }
 | 
					   }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user