aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-01-03 12:18:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-01-03 12:18:22 +0000
commit687cf0235e1450f88dffd8276712349849ef2c6d (patch)
treea3446e99ddf5ab98e3aa0dc273f7b9f5cbf9c869 /tests/server
parentb6e9229cf0df378185afaced7f63bee0fed21c1a (diff)
modified to hush compiler warnings
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/sws.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 270c6a3af..2a9e32dcd 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -520,10 +520,10 @@ static int send_doc(int sock, struct httprequest *req)
written = swrite(sock, STREAMTHIS, count);
if(written != (int)count) {
logmsg("Stopped streaming");
- return -1;
+ break;
}
}
- break;
+ return -1;
case RCMD_IDLE:
/* Do nothing. Sit idle. Pretend it rains. */
return 0;