Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 1968:3c540ad3021f
fix segfault
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 11 Apr 2008 09:15:07 +0000 |
parents | 4f16186f5603 |
children | 54e4d1b6c183 |
comparison
equal
deleted
inserted
replaced
1967:4a4b15c9c474 | 1968:3c540ad3021f |
---|---|
2611 | 2611 |
2612 last = p; | 2612 last = p; |
2613 | 2613 |
2614 while (*++p == ' ') { /* void */ } | 2614 while (*++p == ' ') { /* void */ } |
2615 | 2615 |
2616 if (*p == '\0') { | |
2617 return NGX_OK; | |
2618 } | |
2619 | |
2616 if (ngx_strncasecmp(p, (u_char *) "charset=", 8) != 0) { | 2620 if (ngx_strncasecmp(p, (u_char *) "charset=", 8) != 0) { |
2617 continue; | 2621 continue; |
2618 } | 2622 } |
2619 | 2623 |
2620 p += 8; | 2624 p += 8; |