+version 2.74
+ Fix reversion in 2.73 where --conf-file would attempt to
+ read the default file, rather than no file.
+
+
version 2.73
Fix crash at startup when an empty suffix is supplied to
--conf-dir, also trivial memory leak. Thanks to
{
char *buff = opt_malloc(MAXDNAME);
int option, conffile_opt = '7', testmode = 0;
- char *arg, *conffile = NULL;
+ char *arg, *conffile = CONFFILE;
opterr = 0;
if (conffile)
{
one_file(conffile, conffile_opt);
- free(conffile);
- }
- else
- {
- one_file(CONFFILE, conffile_opt);
+ if (conffile_opt == 0)
+ free(conffile);
}
/* port might not be known when the address is parsed - fill in here */