Kouhei Sutou
null+****@clear*****
Mon Jun 2 09:39:15 JST 2014
Kouhei Sutou 2014-06-02 09:39:15 +0900 (Mon, 02 Jun 2014) New Revision: 14d0f638cc807748e2935ee1f0abcf9053eba112 https://github.com/groonga/groonga/commit/14d0f638cc807748e2935ee1f0abcf9053eba112 Message: Use strncasecmp() to compare with case insensitive Modified files: src/groonga.c Modified: src/groonga.c (+1 -1) =================================================================== --- src/groonga.c 2014-06-02 00:23:39 +0900 (680ff55) +++ src/groonga.c 2014-06-02 09:39:15 +0900 (bf18d46) @@ -752,7 +752,7 @@ do_htreq_get(grn_ctx *ctx, grn_msg *msg) #define STRING_EQUAL_CI(string, string_length, constant_string)\ (string_length == strlen(constant_string) &&\ - strncmp(string, constant_string, string_length) == 0) + strncasecmp(string, constant_string, string_length) == 0) static const char * do_htreq_post_parse_header_request_line(grn_ctx *ctx, -------------- next part -------------- HTML����������������������������... Download