rename request_methods to request_method
This commit is contained in:
parent
b25a68eaac
commit
eb3ef7df0f
3 changed files with 3 additions and 2 deletions
|
@ -73,7 +73,7 @@ typedef struct {
|
||||||
char * path;
|
char * path;
|
||||||
int path_len;
|
int path_len;
|
||||||
|
|
||||||
int request_methods; // can be (GET || POST)
|
int request_method; // can be (GET || POST)
|
||||||
|
|
||||||
char * host; // required host name
|
char * host; // required host name
|
||||||
int host_len;
|
int host_len;
|
||||||
|
|
|
@ -202,7 +202,7 @@ route_info * route_info_createl(char * path, int path_len) {
|
||||||
route_info * info = malloc(sizeof(route_info));
|
route_info * info = malloc(sizeof(route_info));
|
||||||
info->path = path;
|
info->path = path;
|
||||||
info->path_len = path_len;
|
info->path_len = path_len;
|
||||||
info->request_methods = 0; // can be (GET || POST)
|
info->request_method = 0; // can be (GET || POST)
|
||||||
|
|
||||||
info->host = NULL; // required host name
|
info->host = NULL; // required host name
|
||||||
info->host_len = 0;
|
info->host_len = 0;
|
||||||
|
|
|
@ -86,3 +86,4 @@
|
||||||
1400372910,12755936.07
|
1400372910,12755936.07
|
||||||
1400373185,13716181.30
|
1400373185,13716181.30
|
||||||
1400374415,13164892.40
|
1400374415,13164892.40
|
||||||
|
1400382244,12226293.04
|
||||||
|
|
|
Loading…
Reference in a new issue