Merge pull request #72 from kanru/fix-pcre-return-type

Fix pcre_exec's return type
This commit is contained in:
Yo-An Lin 2014-08-09 17:48:52 +08:00
commit b80270afe9

View file

@ -327,7 +327,7 @@ node * r3_tree_matchl(const node * n, const char * path, int path_len, match_ent
const char *substring_start = NULL; const char *substring_start = NULL;
int substring_length = 0; int substring_length = 0;
int ov[ n->ov_cnt ]; int ov[ n->ov_cnt ];
char rc; int rc;
info("pcre matching %s on %s\n", n->combined_pattern, path); info("pcre matching %s on %s\n", n->combined_pattern, path);