diff options
author | Tatsuhiko Kubo <cubicdaiya@gmail.com> | 2014-07-09 23:20:40 +0900 |
---|---|---|
committer | Tatsuhiko Kubo <cubicdaiya@gmail.com> | 2014-07-09 23:20:40 +0900 |
commit | bb4edb5cef39365f64f74a57b9a44c4a7b9b3b93 (patch) | |
tree | c93ffa0c18faa857ac5d71a2501435ebc167110a /src/core/ngx_log.h | |
parent | 12ca9c9c8fb82d97a3aeb5b3c02b76ebfa66a04b (diff) | |
download | nginx-bb4edb5cef39365f64f74a57b9a44c4a7b9b3b93.tar.gz nginx-bb4edb5cef39365f64f74a57b9a44c4a7b9b3b93.zip |
Style: use ngx_strlen() instead of strlen().
Diffstat (limited to 'src/core/ngx_log.h')
-rw-r--r-- | src/core/ngx_log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h index c1a52c44f..95ecca528 100644 --- a/src/core/ngx_log.h +++ b/src/core/ngx_log.h @@ -248,7 +248,7 @@ char *ngx_log_set_log(ngx_conf_t *cf, ngx_log_t **head); static ngx_inline void ngx_write_stderr(char *text) { - (void) ngx_write_fd(ngx_stderr, text, strlen(text)); + (void) ngx_write_fd(ngx_stderr, text, ngx_strlen(text)); } |