[master] b405b86 Don't fail on systems which don't need optreset
Poul-Henning Kamp
phk at FreeBSD.org
Thu Dec 22 11:48:04 CET 2016
commit b405b8658ee0fe3891c52d63344c6ea19cc7057b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Dec 22 10:47:00 2016 +0000
Don't fail on systems which don't need optreset
diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index d98babe..d820aa2 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -73,6 +73,8 @@ struct VSC_C_mgt *VSC_C_mgt;
static struct vpf_fh *pfh = NULL;
+extern int optreset; // Some has it, some doesn't. Cheaper than auto*
+
/*--------------------------------------------------------------------*/
static void
More information about the varnish-commit
mailing list