Selaa lähdekoodia

Merge branch 'master' of https://github.com/civetweb/civetweb

bel2125 4 vuotta sitten
vanhempi
commit
8c7c1dc51b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      docs/Embedding.md

+ 1 - 1
docs/Embedding.md

@@ -294,7 +294,7 @@ handler(struct mg_connection *conn, void *ignored)
 	const char *msg = "Hello world";
 	unsigned long len = (unsigned long)strlen(msg);
 
-    mg_send_ok(conn, "text/plain", len);
+	mg_send_http_ok(conn, "text/plain", len);
 
 	mg_write(conn, msg, len);