aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-17 09:37:44 +0000
committerOmar Polo <op@omarpolo.com>2021-01-17 09:37:44 +0000
commitc2e39fcfedc2bf0430f65f56534ea446595c5018 (patch)
tree0ab13b93fd73ae1280ba12315a4428a06f78de8d /sandbox.c
parent71b7eb2f8c3d0a85dfdf23e08bf89d0a4ad82aaf (diff)
we don't need to check for CGI anymore
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sandbox.c b/sandbox.c
index 3fc469c..5d5fcaf 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -8,13 +8,6 @@
void
sandbox()
{
- struct vhost *h;
- int has_cgi = 0;
-
- for (h = hosts; h->domain != NULL; ++h)
- if (h->cgi != NULL)
- has_cgi = 1;
-
if (cap_enter() == -1)
err(1, "cap_enter");
}