git://git.exim.org
/
users
/
jgh
/
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/jgh/exim.git]
/
src
/
src
/
readconf.c
diff --git
a/src/src/readconf.c
b/src/src/readconf.c
index a8f13350a8567a179abcb4778dd8f4cec1abac5d..e3c9ed72d44ed61d9bd372d4cd660d084719be65 100644
(file)
--- a/
src/src/readconf.c
+++ b/
src/src/readconf.c
@@
-3214,12
+3214,12
@@
if (config_file)
}
else
{
}
else
{
- if (
filename == NULL
)
+ if (
!filename
)
log_write(0, LOG_MAIN|LOG_PANIC_DIE, "non-existent configuration file(s): "
"%s", config_main_filelist);
else
log_write(0, LOG_MAIN|LOG_PANIC_DIE, "non-existent configuration file(s): "
"%s", config_main_filelist);
else
- log_write(0, LOG_MAIN|LOG_PANIC_DIE, "%s",
string_open_failed(errno,
- "configuration file %s", filename));
+ log_write(0, LOG_MAIN|LOG_PANIC_DIE, "%s",
+
string_open_failed(
"configuration file %s", filename));
}
/* Now, once we found and opened our configuration file, we change the directory
}
/* Now, once we found and opened our configuration file, we change the directory