git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
31651e7
)
safer coding of router toplevel
author
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 14 Aug 2024 12:46:08 +0000
(13:46 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 14 Aug 2024 12:46:08 +0000
(13:46 +0100)
src/src/deliver.c
patch
|
blob
|
history
diff --git
a/src/src/deliver.c
b/src/src/deliver.c
index f383ab9be7e220891213ea9bf84ff3537c30d6d0..0ba5f81b07c0ae838b7491882de25f88cd3d0a93 100644
(file)
--- a/
src/src/deliver.c
+++ b/
src/src/deliver.c
@@
-6660,7
+6660,7
@@
int i, rc, final_yield, process_recipients;
time_t now;
address_item * addr_last;
uschar * filter_message, * info;
time_t now;
address_item * addr_last;
uschar * filter_message, * info;
-open_db dbblock, * dbm_file;
+open_db dbblock, * dbm_file
= NULL
;
extern int acl_where;
CONTINUED_ID:
extern int acl_where;
CONTINUED_ID:
@@
-7469,9
+7469,7
@@
while (addr_new) /* Loop until all addresses dealt with */
queue run don't bother checking domain- or address-retry info; they will take
effect on the second stage. */
queue run don't bother checking domain- or address-retry info; they will take
effect on the second stage. */
- if (f.queue_2stage)
- dbm_file = NULL;
- else
+ if (!f.queue_2stage)
{
/* If we have transaction-capable hintsdbs, open the retry db without
locking, and leave open for the transport process and for subsequent
{
/* If we have transaction-capable hintsdbs, open the retry db without
locking, and leave open for the transport process and for subsequent
@@
-7925,7
+7923,7
@@
while (addr_new) /* Loop until all addresses dealt with */
if (dbm_file)
if (exim_lockfile_needed())
if (dbm_file)
if (exim_lockfile_needed())
- { dbfn_close(dbm_file); dbm_file = NULL; }
+ { dbfn_close(dbm_file);
continue_retry_db =
dbm_file = NULL; }
else
DEBUG(D_hints_lookup) debug_printf("retaining retry hintsdb handle\n");
else
DEBUG(D_hints_lookup) debug_printf("retaining retry hintsdb handle\n");