]> err.no Git - varnish/commitdiff
Make params volatile so changes are discovered.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 22 Jan 2007 11:15:27 +0000 (11:15 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 22 Jan 2007 11:15:27 +0000 (11:15 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1234 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/heritage.h
varnish-cache/bin/varnishd/varnishd.c

index 25609c3ec66eb7dea299be06a4188aabbf77db62..98bd3009f434c1fcce38c008389a547c3e37144b 100644 (file)
@@ -104,7 +104,7 @@ struct params {
        unsigned                client_http11;
 };
 
-extern struct params *params;
+extern volatile struct params *params;
 extern struct heritage heritage;
 
 void child_main(void);
index 0f21ed16510f1f7a2782d8f9ad81aee578dad801..4e0e5c66a2134762ce82bb5029214780b08bc9d3 100644 (file)
@@ -60,7 +60,7 @@
 #endif
 
 struct heritage heritage;
-struct params *params;
+volatile struct params *params;
 
 /*--------------------------------------------------------------------*/