[nginx] Core: fixed nginx_shared_zone name.
Maxim Dounin
mdounin at mdounin.ru
Mon Apr 27 17:04:49 UTC 2015
details: http://hg.nginx.org/nginx/rev/be3aaf9f0005
branches:
changeset: 6131:be3aaf9f0005
user: Maxim Dounin <mdounin at mdounin.ru>
date: Mon Apr 27 03:44:03 2015 +0300
description:
Core: fixed nginx_shared_zone name.
diffstat:
src/event/ngx_event.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c
--- a/src/event/ngx_event.c
+++ b/src/event/ngx_event.c
@@ -507,7 +507,7 @@ ngx_event_module_init(ngx_cycle_t *cycle
#endif
shm.size = size;
- shm.name.len = sizeof("nginx_shared_zone");
+ shm.name.len = sizeof("nginx_shared_zone") - 1;
shm.name.data = (u_char *) "nginx_shared_zone";
shm.log = cycle->log;
More information about the nginx-devel
mailing list