Browse Source

Fixed: compile on 4.4.5 failed

pull/224/head
MagicBear 12 years ago
parent
commit
a1afede6f4
  1. 1
      src/http/ngx_http_upstream_check_module.c
  2. 1
      src/os/unix/ngx_syslog.c

1
src/http/ngx_http_upstream_check_module.c

@ -2818,6 +2818,7 @@ ngx_http_upstream_check_init_shm_zone(ngx_shm_zone_t *shm_zone, void *data)
opeers_shm = NULL;
peers_shm = NULL;
oshm_name.len = 0;
same = 0;
peers = check_peers_ctx;

1
src/os/unix/ngx_syslog.c

@ -156,6 +156,7 @@ ngx_log_set_syslog(ngx_pool_t *pool, ngx_str_t *value, ngx_log_t *log)
ident.len = 0;
ident.data = NULL;
state = sw_facility;
ngx_memset(&addr, 0, sizeof(addr));
/**
* format example:

Loading…
Cancel
Save