qconfirm-check fix
Zak Johnson <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <[email protected]> |
The attached patch fixes qconfirm-check for those of us who rely on the default QCONFIRMDIR. -Zak
qconfirm-check.patch
(text/plain, 619 B)
--- qconfirm-check.c.orig Wed May 5 15:08:12 2004
+++ qconfirm-check.c Wed May 5 15:44:14 2004
@@ -295,12 +295,13 @@
if (! ext)
strerr_die2x(100, FATAL, "environment variable EXT not set.\n");
+ if (! qconfirm_dir) qconfirm_dir =QCONFIRMDIR;
+
if ((s =conf_get(qconfirm_dir, "QCONFIRM_HOST")))
host =s;
else if (errno != error_noent)
fatal("unable to read config: ", "QCONFIRM_HOST");
- if (! qconfirm_dir) qconfirm_dir =QCONFIRMDIR;
qconfirm_ext =conf_get_dflt(qconfirm_dir, "QCONFIRM_EXT", QCONFIRMEXT);
if (! qconfirm_ext)
fatal("unable to read config: ", "QCONFIRM_EXT");