Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5608:f5a126edd902 HEAD
Removed empty mail storage callbacks.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 13 May 2007 18:53:27 +0300 |
parents | 74d3236313c1 |
children | 6f924ecdc154 |
files | src/pop3/Makefile.am src/pop3/client.c src/pop3/mail-storage-callbacks.c |
diffstat | 3 files changed, 0 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pop3/Makefile.am Sun May 13 18:46:07 2007 +0300 +++ b/src/pop3/Makefile.am Sun May 13 18:53:27 2007 +0300 @@ -40,7 +40,6 @@ pop3_SOURCES = \ client.c \ commands.c \ - mail-storage-callbacks.c \ main.c headers = \
--- a/src/pop3/client.c Sun May 13 18:46:07 2007 +0300 +++ b/src/pop3/client.c Sun May 13 18:53:27 2007 +0300 @@ -32,8 +32,6 @@ /* Disconnect client after idling this many seconds */ #define CLIENT_IDLE_TIMEOUT (10*60) -extern struct mail_storage_callbacks mail_storage_callbacks; - static struct client *my_client; /* we don't need more than one currently */ static struct timeout *to_idle; @@ -161,7 +159,6 @@ } storage = client->inbox_ns->storage; - mail_storage_set_callbacks(storage, &mail_storage_callbacks, client); flags = 0; if (no_flag_updates)
--- a/src/pop3/mail-storage-callbacks.c Sun May 13 18:46:07 2007 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -/* Copyright (C) 2002 Timo Sirainen */ - -#include "common.h" -#include "mail-storage.h" - -static void alert_no_diskspace(struct mailbox *mailbox __attr_unused__, - void *context __attr_unused__) -{ -} - -static void notify_ok(struct mailbox *mailbox __attr_unused__, - const char *text __attr_unused__, - void *context __attr_unused__) -{ -} - -static void notify_no(struct mailbox *mailbox __attr_unused__, - const char *text __attr_unused__, - void *context __attr_unused__) -{ -} - -struct mail_storage_callbacks mail_storage_callbacks = { - alert_no_diskspace, - notify_ok, - notify_no -};