Skip to content
Snippets Groups Projects
Commit 3d7192d9 authored by Sergey Lyubka's avatar Sergey Lyubka
Browse files

Typo in mongoose.h fixed

parent 1b3cbb17
No related branches found
No related tags found
No related merge requests found
...@@ -328,7 +328,7 @@ int mg_get_cookie(const struct mg_connection *, ...@@ -328,7 +328,7 @@ int mg_get_cookie(const struct mg_connection *,
// char ebuf[100]; // char ebuf[100];
// struct mg_connection *conn; // struct mg_connection *conn;
// conn = mg_download("google.com", 80, 0, ebuf, sizeof(ebuf), // conn = mg_download("google.com", 80, 0, ebuf, sizeof(ebuf),
// "%s", "GET / HTTP/1.0\r\n\r\nHost: google.com\r\n\r\n"); // "%s", "GET / HTTP/1.0\r\nHost: google.com\r\n\r\n");
struct mg_connection *mg_download(const char *host, int port, int use_ssl, struct mg_connection *mg_download(const char *host, int port, int use_ssl,
char *error_buffer, size_t error_buffer_size, char *error_buffer, size_t error_buffer_size,
const char *request_fmt, ...); const char *request_fmt, ...);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment