소스 검색

Merge pull request #2761 from JacobBarthelmeh/Testing

add close on pre to echoserver example
John Safranek 4 년 전
부모
커밋
3bdb7d8188
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/echoserver/echoserver.c

+ 1 - 1
examples/echoserver/echoserver.c

@@ -383,7 +383,7 @@ THREAD_RETURN CYASSL_THREAD echoserver_test(void* args)
                 const char resp[] =
                     "HTTP/1.0 200 ok\r\nContent-type: text/html\r\n\r\n"
                     "<html><body BGCOLOR=\"#ffffff\"><pre>\r\n"
-                    "greetings from wolfSSL\r\n</body></html>\r\n\r\n";
+                    "greetings from wolfSSL\r\n</pre></body></html>\r\n\r\n";
 
                 echoSz = (int)strlen(resp) + 1;
                 if (echoSz > (int)sizeof(command)) {