]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
deliver: tried_default_save variable is now global.
authorTimo Sirainen <tss@iki.fi>
Mon, 29 Sep 2008 09:58:14 +0000 (12:58 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 29 Sep 2008 09:58:14 +0000 (12:58 +0300)
--HG--
branch : HEAD

src/deliver/deliver.c
src/deliver/deliver.h

index cc399bc4264642a650b51f3639b134ac169b5730..befe0d907e26a2b00f5c12b0c1f27da3166aaa1b 100644 (file)
@@ -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;
index 143e71831c0dbd8cde07b3183cc11f7fe68d1b03..cb7fb2a78f01697ddf60b14c34c8e969e666dc06 100644 (file)
@@ -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,