From: Daniel Stenberg Date: Tue, 3 Jan 2006 12:18:22 +0000 (+0000) Subject: modified to hush compiler warnings X-Git-Tag: curl-7_15_2~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=687cf0235e1450f88dffd8276712349849ef2c6d;p=curl modified to hush compiler warnings --- 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;