]> git.kaiwu.me - nginx.git/commitdiff
Style: use ngx_strlen() instead of strlen().
authorTatsuhiko Kubo <cubicdaiya@gmail.com>
Wed, 9 Jul 2014 14:20:40 +0000 (23:20 +0900)
committerTatsuhiko Kubo <cubicdaiya@gmail.com>
Wed, 9 Jul 2014 14:20:40 +0000 (23:20 +0900)
src/core/ngx_log.h

index c1a52c44f0ba7283ef5d3181291db918a19bf105..95ecca52843071bd9777c2a548d0e7f7a852a0dd 100644 (file)
@@ -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));
 }