git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move errno-protection into string_open_failed()
[users/heiko/exim.git]
/
src
/
src
/
tls-gnu.c
diff --git
a/src/src/tls-gnu.c
b/src/src/tls-gnu.c
index df520e8d76886268895a7d6ca28232877fbaa5e8..6308f10df4d00bb29ef55b0f88c8365a200dbe3d 100644
(file)
--- a/
src/src/tls-gnu.c
+++ b/
src/src/tls-gnu.c
@@
-728,7
+728,7
@@
else if (errno == ENOENT)
debug_printf("D-H parameter cache file \"%s\" does not exist\n", filename);
}
else
debug_printf("D-H parameter cache file \"%s\" does not exist\n", filename);
}
else
- return tls_error(string_open_failed(
errno,
"\"%s\" for reading", filename),
+ return tls_error(string_open_failed("\"%s\" for reading", filename),
NULL, NULL, errstr);
/* If ret < 0, either the cache file does not exist, or the data it contains
NULL, NULL, errstr);
/* If ret < 0, either the cache file does not exist, or the data it contains