comparison src/http/ngx_http_upstream.c @ 1994:f3205008c55a stable-0.5

r1969 merge: fix segfault
author Igor Sysoev <igor@sysoev.ru>
date Sun, 04 May 2008 10:08:36 +0000
parents ee49a83b6de2
children
comparison
equal deleted inserted replaced
1993:778fd69806fc 1994:f3205008c55a
2541 2541
2542 last = p; 2542 last = p;
2543 2543
2544 while (*++p == ' ') { /* void */ } 2544 while (*++p == ' ') { /* void */ }
2545 2545
2546 if (*p == '\0') {
2547 return NGX_OK;
2548 }
2549
2546 if (ngx_strncasecmp(p, (u_char *) "charset=", 8) != 0) { 2550 if (ngx_strncasecmp(p, (u_char *) "charset=", 8) != 0) {
2547 continue; 2551 continue;
2548 } 2552 }
2549 2553
2550 p += 8; 2554 p += 8;