[dovecot-cvs] dovecot/src/imap mail-storage-callbacks.c,1.14,1.15

tss at dovecot.org tss at dovecot.org
Sun May 13 18:55:21 EEST 2007


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv18599/imap

Modified Files:
	mail-storage-callbacks.c 
Log Message:
Removed alert_no_diskspace callback. It wasn't used anywhere.



Index: mail-storage-callbacks.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/mail-storage-callbacks.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- mail-storage-callbacks.c	14 Feb 2006 13:04:17 -0000	1.14
+++ mail-storage-callbacks.c	13 May 2007 15:55:19 -0000	1.15
@@ -5,15 +5,6 @@
 #include "mail-storage.h"
 #include "commands-util.h"
 
-static void alert_no_diskspace(struct mailbox *mailbox __attr_unused__,
-			       void *context)
-{
-	struct client *client = context;
-
-	client_send_line(client, "* NO [ALERT] "
-			 "Disk space is full, delete some messages.");
-}
-
 static void notify_ok(struct mailbox *mailbox __attr_unused__,
 		      const char *text, void *context)
 {
@@ -47,7 +38,6 @@
 }
 
 struct mail_storage_callbacks mail_storage_callbacks = {
-	alert_no_diskspace,
 	notify_ok,
 	notify_no
 };



More information about the dovecot-cvs mailing list