changeset 5763:09e734739e46

Style: use ngx_strlen() instead of strlen().
author Tatsuhiko Kubo <cubicdaiya@gmail.com>
date Wed, 09 Jul 2014 23:20:40 +0900
parents b522d5b137fd
children f166c521b619
files src/core/ngx_log.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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, ng
 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));
 }