patch-clients_cgilib_c 443 B

12345678910111213
  1. $OpenBSD: patch-clients_cgilib_c,v 1.4 2007/05/18 12:22:46 henning Exp $
  2. --- clients/cgilib.c.orig Thu Jan 27 15:33:14 2005
  3. +++ clients/cgilib.c Fri May 18 13:54:23 2007
  4. @@ -162,7 +162,7 @@ int checkhost(const char *host, char **desc)
  5. if (!host)
  6. return 0; /* deny null hostnames */
  7. - snprintf(fn, sizeof(fn), "%s/hosts.conf", confpath());
  8. + snprintf(fn, sizeof(fn), "%s/hosts.conf", cgiconfpath());
  9. pconf_init(&ctx, cgilib_err);