diff --git a/docs/README.md b/docs/README.md index cf9b062b1f..74de0ebc16 100644 --- a/docs/README.md +++ b/docs/README.md @@ -3821,7 +3821,7 @@ isn't default port for URL protocol Usage example: ```c -unsigned short port1 = mg_url_port("htts://myhost.com") // port1 is now 443 (default https port) +unsigned short port1 = mg_url_port("https://myhost.com") // port1 is now 443 (default https port) unsigned short port2 = mg_url_port("127.0.0.1:567") // port2 is now 567 ``` @@ -3961,7 +3961,7 @@ Parameters: - `0` - Disable logging - `1` - Log errors only - `2` - Log errors and info messages - - `3` - Log errors, into and debug messages + - `3` - Log errors, info and debug messages - `4` - Log everything Return value: None diff --git a/examples/websocket-server/main.c b/examples/websocket-server/main.c index fe6f368081..cacd266290 100644 --- a/examples/websocket-server/main.c +++ b/examples/websocket-server/main.c @@ -10,7 +10,7 @@ static const char *s_web_root = "."; // This RESTful server implements the following endpoints: // /websocket - upgrade to Websocket, and implement websocket echo server -// /api/rest - respond with JSON string {"result": 123} +// /rest - respond with JSON string {"result": 123} // any other URI serves static files from s_web_root static void fn(struct mg_connection *c, int ev, void *ev_data, void *fn_data) { if (ev == MG_EV_OPEN) { diff --git a/mongoose.h b/mongoose.h index 79e30e0ed4..8cd915080d 100644 --- a/mongoose.h +++ b/mongoose.h @@ -20,7 +20,7 @@ #ifndef MONGOOSE_H #define MONGOOSE_H -#define MG_VERSION "7.8" +#define MG_VERSION "7.9" #ifdef __cplusplus extern "C" { diff --git a/src/version.h b/src/version.h index 3218440cb6..20b2adba2d 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define MG_VERSION "7.8" +#define MG_VERSION "7.9"