From: Timo Sirainen Date: Mon, 29 Sep 2008 09:58:14 +0000 (+0300) Subject: deliver: tried_default_save variable is now global. X-Git-Tag: 1.2.alpha2~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64ea0e5b517f552d65df7e773c1d4f725aed93da;p=thirdparty%2Fdovecot%2Fcore.git deliver: tried_default_save variable is now global. --HG-- branch : HEAD --- diff --git a/src/deliver/deliver.c b/src/deliver/deliver.c index cc399bc426..befe0d907e 100644 --- a/src/deliver/deliver.c +++ b/src/deliver/deliver.c @@ -55,11 +55,11 @@ static const char *wanted_headers[] = { 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; diff --git a/src/deliver/deliver.h b/src/deliver/deliver.h index 143e71831c..cb7fb2a78f 100644 --- a/src/deliver/deliver.h +++ b/src/deliver/deliver.h @@ -25,6 +25,7 @@ struct deliver_settings { }; 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,