Welcome! Log In Create A New Profile

Advanced

[nginx] Style: use ngx_strlen() instead of strlen().

Maxim Dounin
July 09, 2014 11:32AM
details: http://hg.nginx.org/nginx/rev/09e734739e46
branches:
changeset: 5763:09e734739e46
user: Tatsuhiko Kubo <cubicdaiya@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));
}



_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Style: use ngx_strlen() instead of strlen().

Maxim Dounin 525 July 09, 2014 11:32AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 227
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready