diff options
| author | Vladimir Homutov <vl@nginx.com> | 2018-05-14 22:50:57 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2018-05-14 22:50:57 +0300 |
| commit | 5568a6598d7ec830a6759c6ab0419a50b4ab3056 (patch) | |
| tree | aec4e1b191fd244910761b9f0fb417aee81d22a5 /src/core/ngx_syslog.h | |
| parent | 4ac8036e78aeb95fe85e41d45caf82722f8e2d07 (diff) | |
| download | nginx-5568a6598d7ec830a6759c6ab0419a50b4ab3056.tar.gz nginx-5568a6598d7ec830a6759c6ab0419a50b4ab3056.tar.bz2 | |
Syslog: install cleanup handler only once.
If a socket was re-opened due to an error (02c2352d5b01 and fa0e093b64d7),
additional cleanup handler was installed each time.
Diffstat (limited to 'src/core/ngx_syslog.h')
| -rw-r--r-- | src/core/ngx_syslog.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/ngx_syslog.h b/src/core/ngx_syslog.h index cc4c842c7..50dcd3511 100644 --- a/src/core/ngx_syslog.h +++ b/src/core/ngx_syslog.h @@ -9,7 +9,6 @@ typedef struct { - ngx_pool_t *pool; ngx_uint_t facility; ngx_uint_t severity; ngx_str_t tag; |
