diff options
| -rw-r--r-- | src/HTTP_Message_Header.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HTTP_Message_Header.c b/src/HTTP_Message_Header.c index 254d7a3..e890990 100644 --- a/src/HTTP_Message_Header.c +++ b/src/HTTP_Message_Header.c @@ -302,7 +302,7 @@ static void http_reseaseHttpInforList(http_parser_t**a_http, UINT16 uncomplete_c /********************************************************** * ���ܣ��ͷŽڵ㡣 * a_http:��ǰ�ڵ㡣 - * curdir����ǰ���ݵķ��� + * curdir����ǰ���ݵķ���? * delete cur_node when http_infor be proccessd over * the different with http_releaseHttpLinkNode:http_reseaseHttpInfor is delete cur_node,and proc prev and next **********************************************************/ @@ -503,10 +503,10 @@ uchar http_tripleMatching(http_parser_t *cur_http_node, http_stream* a_http_stre last_pos = last_http_pos-1; - while(*last_pos==HTTP_SP && last_pos>frist_pos) + while(last_pos>frist_pos && *last_pos==HTTP_SP) { last_pos--; - } + } /*last_pos-first_pos to make sure url != NULL*/ if(last_pos-frist_pos>0) |
