[dovecot-cvs] dovecot/src/pop3 commands.c,1.53.2.2,1.53.2.3

tss at dovecot.org tss at dovecot.org
Fri Jan 26 13:58:43 UTC 2007


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

Modified Files:
      Tag: branch_1_0
	commands.c 
Log Message:
Cleanups and minor fixes



Index: commands.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/commands.c,v
retrieving revision 1.53.2.2
retrieving revision 1.53.2.3
diff -u -d -r1.53.2.2 -r1.53.2.3
--- commands.c	10 Aug 2006 22:32:07 -0000	1.53.2.2
+++ commands.c	26 Jan 2007 13:58:40 -0000	1.53.2.3
@@ -237,8 +237,12 @@
 		}
 	}
 
-	mailbox_transaction_commit(&client->trans,
-				   MAILBOX_SYNC_FLAG_FULL_WRITE);
+	if (mailbox_transaction_commit(&client->trans,
+				       MAILBOX_SYNC_FLAG_FULL_WRITE) < 0) {
+		client_send_storage_error(client);
+		client_disconnect(client, "Storage error during logout.");
+		return 1;
+	}
 
 	if (!client->deleted)
 		client_send_line(client, "+OK Logging out.");



More information about the dovecot-cvs mailing list