diff options
author | florian <florian@openbsd.org> | 2013-10-21 18:16:28 +0000 |
---|---|---|
committer | florian <florian@openbsd.org> | 2013-10-21 18:16:28 +0000 |
commit | d2b70008fe89b1a5113380fa695046e672a542e4 (patch) | |
tree | f7fec4b77ee42bdcfee9d03cd2bc13833c76e3dd /usr.sbin/slowcgi | |
parent | Fix values of AR9003 Rx queue software indexes. Both indexes were zero, (diff) | |
download | wireguard-openbsd-d2b70008fe89b1a5113380fa695046e672a542e4.tar.xz wireguard-openbsd-d2b70008fe89b1a5113380fa695046e672a542e4.zip |
No need for volatile here.
pointed out by deraadt@
Diffstat (limited to 'usr.sbin/slowcgi')
-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; |