Browse Source

Merge pull request #2761 from JacobBarthelmeh/Testing

add close on pre to echoserver example
John Safranek 4 years ago
parent
commit
3bdb7d8188
1 changed files with 1 additions and 1 deletions
  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)) {