From: florian Date: Thu, 22 Jan 2015 18:22:27 +0000 (+0000) Subject: Clean up includes, while here fix a white space which lead to a false X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e09b0855a18882e7dd42d5690e73b876325181b7;p=openbsd Clean up includes, while here fix a white space which lead to a false positive during grep'ing. OK reyk --- diff --git a/usr.sbin/slowcgi/slowcgi.c b/usr.sbin/slowcgi/slowcgi.c index 069b1e96dd4..4fc250154e1 100644 --- a/usr.sbin/slowcgi/slowcgi.c +++ b/usr.sbin/slowcgi/slowcgi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: slowcgi.c,v 1.43 2015/01/19 21:18:47 guenther Exp $ */ +/* $OpenBSD: slowcgi.c,v 1.44 2015/01/22 18:22:27 florian Exp $ */ /* * Copyright (c) 2013 David Gwynne * Copyright (c) 2013 Florian Obser @@ -20,19 +20,19 @@ #include #include #include -#include #include +#include #include #include +#include #include #include -#include #include #include -#include #include #include #include +#include #include #include #include @@ -510,7 +510,7 @@ slowcgi_sig_handler(int sig, short event, void *arg) switch (sig) { case SIGCHLD: - while((pid = waitpid(WAIT_ANY, &status, WNOHANG)) > 0) { + while ((pid = waitpid(WAIT_ANY, &status, WNOHANG)) > 0) { c = NULL; SLIST_FOREACH(ncs, &p->requests, entry) if (ncs->request->script_pid == pid) {