aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--slowcgi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/slowcgi.c b/slowcgi.c
index 87ae5b2..bf5d7fc 100644
--- a/slowcgi.c
+++ b/slowcgi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slowcgi.c,v 1.55 2018/10/19 08:13:34 claudio Exp $ */
+/* $OpenBSD: slowcgi.c,v 1.56 2020/05/08 07:41:33 claudio Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
* Copyright (c) 2013 Florian Obser <florian@openbsd.org>
@@ -425,8 +425,7 @@ slowcgi_listen(char *path, struct passwd *pw)
if (errno != ENOENT)
lerr(1, "slowcgi_listen: unlink %s", path);
- old_umask = umask(S_IXUSR|S_IXGRP|S_IWOTH|S_IROTH|
- S_IXOTH);
+ old_umask = umask(S_IXUSR|S_IXGRP|S_IWOTH|S_IROTH|S_IXOTH);
if (bind(fd, (struct sockaddr *)&sun, sizeof(sun)) == -1)
lerr(1,"slowcgi_listen: bind: %s", path);
@@ -452,7 +451,7 @@ slowcgi_paused(int fd, short events, void *arg)
int
accept_reserve(int sockfd, struct sockaddr *addr, socklen_t *addrlen,
- int reserve, volatile int *counter)
+ int reserve, volatile int *counter)
{
int ret;
if (getdtablecount() + reserve +
@@ -727,6 +726,7 @@ parse_begin_request(uint8_t *buf, uint16_t n, struct request *c, uint16_t id)
SLIST_INIT(&c->env);
c->env_count = 0;
}
+
void
parse_params(uint8_t *buf, uint16_t n, struct request *c, uint16_t id)
{