aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_syslog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_syslog.h')
-rw-r--r--src/core/ngx_syslog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ngx_syslog.h b/src/core/ngx_syslog.h
index 181ebe7b3..e2d54acdb 100644
--- a/src/core/ngx_syslog.h
+++ b/src/core/ngx_syslog.h
@@ -18,7 +18,8 @@ typedef struct {
ngx_addr_t server;
ngx_connection_t conn;
- ngx_log_t *log;
+ ngx_log_t log;
+ ngx_log_t *logp;
unsigned busy:1;
unsigned nohostname:1;