Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8221:f6ef01a25db9 HEAD
deliver: tried_default_save variable is now global.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 29 Sep 2008 12:58:14 +0300 |
parents | 8e5c93f37e48 |
children | 1155c1f7fed8 |
files | src/deliver/deliver.c src/deliver/deliver.h |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/deliver/deliver.c Mon Sep 29 12:43:09 2008 +0300 +++ b/src/deliver/deliver.c Mon Sep 29 12:58:14 2008 +0300 @@ -55,11 +55,11 @@ struct deliver_settings *deliver_set; deliver_mail_func_t *deliver_mail = NULL; +bool tried_default_save = FALSE; /* FIXME: these two should be in some context struct instead of as globals.. */ static const char *default_mailbox_name = NULL; static bool saved_mail = FALSE; -static bool tried_default_save = FALSE; static char *explicit_envelope_sender = NULL; static struct module *modules;
--- a/src/deliver/deliver.h Mon Sep 29 12:43:09 2008 +0300 +++ b/src/deliver/deliver.h Mon Sep 29 12:58:14 2008 +0300 @@ -25,6 +25,7 @@ }; extern struct deliver_settings *deliver_set; +extern bool tried_default_save; typedef int deliver_mail_func_t(struct mail_namespace *namespaces, struct mail_storage **storage_r,