X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/aa105ab62ac896fea1ed39c715018b75bdbd1cde..98bf975ca462bebeaa1325d72381847c5118ff14:/src/src/acl.c diff --git a/src/src/acl.c b/src/src/acl.c index 60fa97752..2fff4b704 100644 --- a/src/src/acl.c +++ b/src/src/acl.c @@ -2356,8 +2356,7 @@ if (t != NULL) /* We aren't using a pre-computed rate, so get a previously recorded rate from the database, which will be updated and written back if required. */ -dbm = dbfn_open(US"ratelimit", O_RDWR, &dbblock, TRUE); -if (dbm == NULL) +if (!(dbm = dbfn_open(US"ratelimit", O_RDWR, &dbblock, TRUE))) { store_pool = old_pool; sender_rate = NULL;