comparison src/http/modules/ngx_http_ssl_module.c @ 5077:9ea42922a395

Removed zero termination of shm zone names. It was added in r2717 and no longer needed since r2721, where the termination was added to ngx_shm_alloc() and ngx_init_zone_pool(). So then it only corrupts error messages about ivalid zones.
author Valentin Bartenev <vbart@nginx.com>
date Tue, 19 Feb 2013 17:48:45 +0000
parents 4b4f4cea6dfb
children afee87b8190a
comparison
equal deleted inserted replaced
5076:4c9c8f3f66ec 5077:9ea42922a395
659 { 659 {
660 len = 0; 660 len = 0;
661 661
662 for (j = sizeof("shared:") - 1; j < value[i].len; j++) { 662 for (j = sizeof("shared:") - 1; j < value[i].len; j++) {
663 if (value[i].data[j] == ':') { 663 if (value[i].data[j] == ':') {
664 value[i].data[j] = '\0';
665 break; 664 break;
666 } 665 }
667 666
668 len++; 667 len++;
669 } 668 }