comparison src/core/ngx_syslog.c @ 6474:2cd019520210

Style.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 30 Mar 2016 11:52:16 +0300
parents a6a2016b8e31
children fa0e093b64d7
comparison
equal deleted inserted replaced
6473:9d7326d3f474 6474:2cd019520210
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9 #include <ngx_event.h> 9 #include <ngx_event.h>
10 10
11 11
12 #define NGX_SYSLOG_MAX_STR \ 12 #define NGX_SYSLOG_MAX_STR \
13 NGX_MAX_ERROR_STR + sizeof("<255>Jan 01 00:00:00 ") - 1 \ 13 NGX_MAX_ERROR_STR + sizeof("<255>Jan 01 00:00:00 ") - 1 \
14 + (NGX_MAXHOSTNAMELEN - 1) + 1 /* space */ \ 14 + (NGX_MAXHOSTNAMELEN - 1) + 1 /* space */ \
15 + 32 /* tag */ + 2 /* colon, space */ 15 + 32 /* tag */ + 2 /* colon, space */
16 16
17 17
18 static char *ngx_syslog_parse_args(ngx_conf_t *cf, ngx_syslog_peer_t *peer); 18 static char *ngx_syslog_parse_args(ngx_conf_t *cf, ngx_syslog_peer_t *peer);
19 static ngx_int_t ngx_syslog_init_peer(ngx_syslog_peer_t *peer); 19 static ngx_int_t ngx_syslog_init_peer(ngx_syslog_peer_t *peer);
20 static void ngx_syslog_cleanup(void *data); 20 static void ngx_syslog_cleanup(void *data);