[dovecot-cvs] dovecot/src/pop3 client.c,1.61,1.62

cras at dovecot.org cras at dovecot.org
Thu Feb 2 21:38:04 EET 2006


Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv3148/pop3

Modified Files:
	client.c 
Log Message:
Don't bother checking if mailbox_search_init() returns NULL. It never does.



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- client.c	29 Jan 2006 12:14:50 -0000	1.61
+++ client.c	2 Feb 2006 19:38:01 -0000	1.62
@@ -75,11 +75,6 @@
 
 		t = mailbox_transaction_begin(client->mailbox, 0);
 		ctx = mailbox_search_init(t, NULL, &search_arg, NULL);
-		if (ctx == NULL) {
-			client_send_storage_error(client);
-			mailbox_transaction_rollback(&t);
-			break;
-		}
 
 		client->last_seen = 0;
 		client->total_size = 0;



More information about the dovecot-cvs mailing list