소스 검색

Merge pull request #998 from JensWallgren/master

Mistyped function call in docs
bel2125 4 년 전
부모
커밋
e9ca756325
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);