diff options
author | Ruslan Ermilov <ru@nginx.com> | 2016-03-30 11:52:16 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2016-03-30 11:52:16 +0300 |
commit | 7ad57da59821294255610545b2b5ce07e74124a5 (patch) | |
tree | 91bb44ad5950b703d0f49a8744f0b9b08cf29f11 /src/core/ngx_log.c | |
parent | dfbc51a8cc850154fe8839408f32c7e322f5cdf0 (diff) | |
download | nginx-7ad57da59821294255610545b2b5ce07e74124a5.tar.gz nginx-7ad57da59821294255610545b2b5ce07e74124a5.zip |
Style.
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r-- | src/core/ngx_log.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c index 08938715d..e7200795a 100644 --- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -33,14 +33,14 @@ typedef struct { static ngx_command_t ngx_errlog_commands[] = { - {ngx_string("error_log"), - NGX_MAIN_CONF|NGX_CONF_1MORE, - ngx_error_log, - 0, - 0, - NULL}, - - ngx_null_command + { ngx_string("error_log"), + NGX_MAIN_CONF|NGX_CONF_1MORE, + ngx_error_log, + 0, + 0, + NULL }, + + ngx_null_command }; @@ -585,7 +585,7 @@ ngx_log_set_log(ngx_conf_t *cf, ngx_log_t **head) return NGX_CONF_ERROR; } - } else if (ngx_strncmp(value[1].data, "memory:", 7) == 0) { + } else if (ngx_strncmp(value[1].data, "memory:", 7) == 0) { #if (NGX_DEBUG) size_t size, needed; @@ -644,7 +644,7 @@ ngx_log_set_log(ngx_conf_t *cf, ngx_log_t **head) return NGX_CONF_ERROR; #endif - } else if (ngx_strncmp(value[1].data, "syslog:", 7) == 0) { + } else if (ngx_strncmp(value[1].data, "syslog:", 7) == 0) { peer = ngx_pcalloc(cf->pool, sizeof(ngx_syslog_peer_t)); if (peer == NULL) { return NGX_CONF_ERROR; |