Made mg_connection::content_len int -> size_t, which is 64-bit on 64-bit systems

This commit is contained in:
Sergey Lyubka committed 2014-01-20 20:57:21 +00:00
1 parent 503a1a749d
commit 976f286134
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ struct mg_connection {
} http_headers[30];
char *content; // POST (or websocket message) data, or NULL
long int content_len; // content length
size_t content_len; // content length
int is_websocket; // Connection is a websocket connection
int status_code; // HTTP status code for HTTP error handler