aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_ssl_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-16 19:25:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-16 19:25:09 +0000
commitc7f876bd4c3916b5a1553da88d73d97d76ac72e3 (patch)
tree1dfec08b372f51daed66162179b246e99217cabf /src/http/modules/ngx_http_ssl_module.c
parentc26e7b9d49cf2d143b194342bf8d6f37de6ae197 (diff)
downloadnginx-c7f876bd4c3916b5a1553da88d73d97d76ac72e3.tar.gz
nginx-c7f876bd4c3916b5a1553da88d73d97d76ac72e3.zip
move zone name from ngx_shm_zone_t to ngx_shm_t to use Win32 shared memory
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.c')
-rw-r--r--src/http/modules/ngx_http_ssl_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
index 91dad999e..3bf52a2c7 100644
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -564,6 +564,7 @@ ngx_http_ssl_session_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
for (j = sizeof("shared:") - 1; j < value[i].len; j++) {
if (value[i].data[j] == ':') {
+ value[i].data[j] = '\0';
break;
}