X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Flookups%2Fdbmdb.c;h=f5614fdacb7ddfac67b3edfed9e583803bf6cb1c;hb=84227d174eec333d01ff494695bea0febf11575e;hp=0cec7327310c835e2151117e1c209811f74cd456;hpb=d4c9963ace2b653f657c74abecfecb7546c722b1;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/lookups/dbmdb.c b/src/src/lookups/dbmdb.c index 0cec73273..f5614fdac 100644 --- a/src/src/lookups/dbmdb.c +++ b/src/src/lookups/dbmdb.c @@ -26,11 +26,7 @@ EXIM_DB *yield = NULL; if ((s = Ustrrchr(dirname, '/'))) *s = '\0'; EXIM_DBOPEN(filename, dirname, O_RDONLY, 0, &yield); if (!yield) - { - int save_errno = errno; - *errmsg = string_open_failed(errno, "%s as a %s file", filename, EXIM_DBTYPE); - errno = save_errno; - } + *errmsg = string_open_failed("%s as a %s file", filename, EXIM_DBTYPE); return yield; }