From d7b438e2207b0ed633c174da96ec47cdab1d1821 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 21 Oct 2013 18:16:28 +0000 Subject: No need for volatile here. pointed out by deraadt@ --- slowcgi.c | 4 ++-- 1 file 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 * Copyright (c) 2013 Florian Obser @@ -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; -- cgit v1.2.3-2-gb3c3