diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2013-10-21 18:16:29 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2013-10-21 18:16:29 +0000 |
commit | 522dcce42fb40b9212c8ee0e04468026cdb75742 (patch) | |
tree | dda7b7502c130931bbaa596114686bc30be7f6b2 | |
parent | 64f618d5c16948ba126bfcb8631e98cc23850da4 (diff) |
No need for volatile here.
pointed out by deraadt@
-rw-r--r-- | usr.sbin/slowcgi/slowcgi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/slowcgi/slowcgi.c b/usr.sbin/slowcgi/slowcgi.c index 6f9bb3ecb94..a7122dba9b0 100644 --- a/usr.sbin/slowcgi/slowcgi.c +++ b/usr.sbin/slowcgi/slowcgi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: slowcgi.c,v 1.20 2013/10/20 16:47:24 deraadt Exp $ */ +/* $OpenBSD: slowcgi.c,v 1.21 2013/10/21 18:16:28 florian Exp $ */ /* * Copyright (c) 2013 David Gwynne <dlg@openbsd.org> * Copyright (c) 2013 Florian Obser <florian@openbsd.org> @@ -70,7 +70,7 @@ #define FD_RESERVE 5 #define FD_NEEDED 6 -volatile int cgi_inflight = 0; +int cgi_inflight = 0; struct listener { struct event ev, pause; |