diff options
author | blambert | 2014-12-08 12:12:46 +0000 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-05-24 12:33:55 +0200 |
commit | 1ec3ce18c83f70c24216677ab365ad746bc15400 (patch) | |
tree | e0637c215710ba1c5a8838d029d720018104d8f7 /slowcgi.c | |
parent | d9bf5d00c1f0cc15945ca742f50ea8ae4ae7d764 (diff) | |
download | slowcgi-1ec3ce18c83f70c24216677ab365ad746bc15400.tar.gz |
read(2) returns ssize_t, not size_t
ok florian@
Diffstat (limited to 'slowcgi.c')
-rw-r--r-- | slowcgi.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |