diff --git a/tests/server/dnsd.c b/tests/server/dnsd.c index e64fa64222..389c066c82 100644 --- a/tests/server/dnsd.c +++ b/tests/server/dnsd.c @@ -619,7 +619,6 @@ static int test_dnsd(int argc, char **argv) } logmsg("end of one transfer"); - } dnsd_cleanup: diff --git a/tests/server/mqttd.c b/tests/server/mqttd.c index d42b277d93..76ef715011 100644 --- a/tests/server/mqttd.c +++ b/tests/server/mqttd.c @@ -228,11 +228,8 @@ static int disconnect(FILE *dump, curl_socket_t fd) return 1; } - - /* do - encodedByte = X MOD 128 X = X DIV 128 diff --git a/tests/server/rtspd.c b/tests/server/rtspd.c index 7730187875..7f1ce81022 100644 --- a/tests/server/rtspd.c +++ b/tests/server/rtspd.c @@ -120,22 +120,22 @@ static const char *docbadconnect = /* send back this on HTTP 404 file not found */ static const char *doc404_HTTP = "HTTP/1.1 404 Not Found\r\n" - "Server: " RTSPDVERSION "\r\n" - "Connection: close\r\n" - "Content-Type: text/html" - END_OF_HEADERS - "\n" - "\n" - "404 Not Found\n" - "\n" - "

Not Found

\n" - "The requested URL was not found on this server.\n" - "


" RTSPDVERSION "
\n" "\n"; + "Server: " RTSPDVERSION "\r\n" + "Connection: close\r\n" + "Content-Type: text/html" + END_OF_HEADERS + "\n" + "\n" + "404 Not Found\n" + "\n" + "

Not Found

\n" + "The requested URL was not found on this server.\n" + "


" RTSPDVERSION "
\n" "\n"; /* send back this on RTSP 404 file not found */ static const char *doc404_RTSP = "RTSP/1.0 404 Not Found\r\n" - "Server: " RTSPDVERSION - END_OF_HEADERS; + "Server: " RTSPDVERSION + END_OF_HEADERS; /* Default size to send away fake RTP data */ #define RTP_DATA_SIZE 12 diff --git a/tests/server/sws.c b/tests/server/sws.c index 871248b4d0..f49f22339d 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -143,17 +143,17 @@ static const char *docquit_sws = /* send back this on 404 file not found */ static const char *doc404 = "HTTP/1.1 404 Not Found\r\n" - "Server: " SWSVERSION "\r\n" - "Connection: close\r\n" - "Content-Type: text/html" - END_OF_HEADERS - "\n" - "\n" - "404 Not Found\n" - "\n" - "

Not Found

\n" - "The requested URL was not found on this server.\n" - "


" SWSVERSION "
\n" "\n"; + "Server: " SWSVERSION "\r\n" + "Connection: close\r\n" + "Content-Type: text/html" + END_OF_HEADERS + "\n" + "\n" + "404 Not Found\n" + "\n" + "

Not Found

\n" + "The requested URL was not found on this server.\n" + "


" SWSVERSION "
\n" "\n"; /* work around for handling trailing headers */ static int already_recv_zeroed_chunk = FALSE; @@ -405,7 +405,6 @@ static int sws_ProcessRequest(struct sws_httprequest *req) logmsg("No test number in path"); req->testno = DOCNUMBER_NOTHING; } - } if(req->testno == DOCNUMBER_NOTHING) {