diff src/core/ngx_syslog.h @ 7277:7f9935f07fe9

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.
author Vladimir Homutov <vl@nginx.com>
date Mon, 14 May 2018 22:50:57 +0300
parents a6a2016b8e31
children 29adacffdefa
line wrap: on
line diff
--- 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;