projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2278e8f
)
sread now returns ssize_t
author
Yang Tse
<yangsita@gmail.com>
Wed, 12 Jul 2006 05:54:06 +0000
(
05:54
+0000)
committer
Yang Tse
<yangsita@gmail.com>
Wed, 12 Jul 2006 05:54:06 +0000
(
05:54
+0000)
tests/server/sws.c
patch
|
blob
|
history
diff --git
a/tests/server/sws.c
b/tests/server/sws.c
index 3eff97d45af8eacd771d0bd408ede0337fac7cf7..7d1b76ea1d966e1154153279b493b4cb59821f5e 100644
(file)
--- a/
tests/server/sws.c
+++ b/
tests/server/sws.c
@@
-454,7
+454,7
@@
static int get_request(int sock, struct httprequest *req)
/*** end of httprequest init ***/
while (req->offset < REQBUFSIZ) {
-
in
t got = sread(sock, reqbuf + req->offset, REQBUFSIZ - req->offset);
+
ssize_
t got = sread(sock, reqbuf + req->offset, REQBUFSIZ - req->offset);
if (got <= 0) {
if (got < 0) {
logmsg("recv() returned error: %d", errno);