[nginx] Style: use ngx_strlen() instead of strlen().
Maxim Dounin
mdounin at mdounin.ru
Wed Jul 9 15:30:37 UTC 2014
details: http://hg.nginx.org/nginx/rev/09e734739e46
branches:
changeset: 5763:09e734739e46
user: Tatsuhiko Kubo <cubicdaiya at gmail.com>
date: Wed Jul 09 23:20:40 2014 +0900
description:
Style: use ngx_strlen() instead of strlen().
diffstat:
src/core/ngx_log.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h
--- 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));
}
More information about the nginx-devel
mailing list