aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian2013-10-21 18:16:28 +0000
committerWynn Wolf Arbor2020-05-24 12:33:55 +0200
commitd7b438e2207b0ed633c174da96ec47cdab1d1821 (patch)
tree46a613df76b6eb5b92f1ab607ffa78f43433f90a
parentd9817559d434723f521a38cabf444d6a77a70846 (diff)
downloadslowcgi-d7b438e2207b0ed633c174da96ec47cdab1d1821.tar.gz
No need for volatile here. pointed out by deraadt@
Diffstat (limited to '')
-rw-r--r--slowcgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/slowcgi.c b/slowcgi.c
index 6f9bb3e..a7122db 100644
--- a/slowcgi.c
+++ b/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;