mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-10 16:31:44 +00:00
Merge pull request #1990 from cesanta/revert-1705-master
Revert "fix the doc error: htts to https"
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -3821,7 +3821,7 @@ isn't default port for URL protocol
|
|||||||
Usage example:
|
Usage example:
|
||||||
|
|
||||||
```c
|
```c
|
||||||
unsigned short port1 = mg_url_port("https://myhost.com") // port1 is now 443 (default https port)
|
unsigned short port1 = mg_url_port("htts://myhost.com") // port1 is now 443 (default https port)
|
||||||
unsigned short port2 = mg_url_port("127.0.0.1:567") // port2 is now 567
|
unsigned short port2 = mg_url_port("127.0.0.1:567") // port2 is now 567
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user