summaryrefslogtreecommitdiff
path: root/usr.sbin/slowcgi
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2014-12-08 12:12:47 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2014-12-08 12:12:47 +0000
commitdedad2d1a0ffc3db836cf6f1211a51cce0c7cf67 (patch)
treec33d289914481d08d0ee7b5f62b1c603ca15633b /usr.sbin/slowcgi
parent58537ae4f1f68a2a351563f15bc190be323be8bb (diff)
read(2) returns ssize_t, not size_t
ok florian@
Diffstat (limited to 'usr.sbin/slowcgi')
-rw-r--r--usr.sbin/slowcgi/slowcgi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/slowcgi/slowcgi.c b/usr.sbin/slowcgi/slowcgi.c
index df478c94c69..fdf0cd9fac0 100644
--- a/usr.sbin/slowcgi/slowcgi.c
+++ b/usr.sbin/slowcgi/slowcgi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slowcgi.c,v 1.40 2014/12/05 20:01:39 florian Exp $ */
+/* $OpenBSD: slowcgi.c,v 1.41 2014/12/08 12:12:46 blambert Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
* Copyright (c) 2013 Florian Obser <florian@openbsd.org>
@@ -596,7 +596,8 @@ void
slowcgi_request(int fd, short events, void *arg)
{
struct request *c;
- size_t n, parsed;
+ ssize_t n;
+ size_t parsed;
c = arg;