rename request_methods to request_method

This commit is contained in:
c9s 2014-05-18 11:04:13 +08:00
parent b25a68eaac
commit eb3ef7df0f
3 changed files with 3 additions and 2 deletions

View file

@ -73,7 +73,7 @@ typedef struct {
char * path;
int path_len;
int request_methods; // can be (GET || POST)
int request_method; // can be (GET || POST)
char * host; // required host name
int host_len;

View file

@ -202,7 +202,7 @@ route_info * route_info_createl(char * path, int path_len) {
route_info * info = malloc(sizeof(route_info));
info->path = path;
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_len = 0;

View file

@ -86,3 +86,4 @@
1400372910,12755936.07
1400373185,13716181.30
1400374415,13164892.40
1400382244,12226293.04

1 1400242718 5649455.80
86 1400372910 12755936.07
87 1400373185 13716181.30
88 1400374415 13164892.40
89 1400382244 12226293.04