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

local and remote port made unsigned short

parent 3fa5c69f
No related branches found
No related tags found
No related merge requests found
...@@ -37,9 +37,9 @@ struct mg_connection { ...@@ -37,9 +37,9 @@ struct mg_connection {
const char *query_string; // URL part after '?', not including '?', or NULL const char *query_string; // URL part after '?', not including '?', or NULL
char remote_ip[48]; // Max IPv6 string length is 45 characters char remote_ip[48]; // Max IPv6 string length is 45 characters
int remote_port; // Client's port
const char *local_ip; // Local IP address const char *local_ip; // Local IP address
int local_port; // Local port number unsigned short remote_port; // Client's port
unsigned short local_port; // Local port number
int num_headers; // Number of HTTP headers int num_headers; // Number of HTTP headers
struct mg_header { struct mg_header {
......
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