diff options
author | Valentin Bartenev <vbart@nginx.com> | 2017-06-21 22:45:20 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2017-06-21 22:45:20 +0300 |
commit | 9593ce769ac85c75d67c9bd4730f6ce95cab6502 (patch) | |
tree | e79f95721992e41984ef48ad88551f8c500fe2ad /src/nxt_sockaddr.c | |
parent | 58e24662daf9670aa906b71719a071ef9d960f5e (diff) | |
download | unit-9593ce769ac85c75d67c9bd4730f6ce95cab6502.tar.gz unit-9593ce769ac85c75d67c9bd4730f6ce95cab6502.tar.bz2 |
Removed surplus type casting from nxt_memcmp() calls.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_sockaddr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_sockaddr.c b/src/nxt_sockaddr.c index 40d00929..6db15d13 100644 --- a/src/nxt_sockaddr.c +++ b/src/nxt_sockaddr.c @@ -574,7 +574,7 @@ nxt_job_sockaddr_parse(nxt_job_sockaddr_parse_t *jbs) length = jbs->addr.length; p = jbs->addr.start; - if (length > 6 && nxt_memcmp(p, (u_char *) "unix:", 5) == 0) { + if (length > 6 && nxt_memcmp(p, "unix:", 5) == 0) { ret = nxt_job_sockaddr_unix_parse(jbs); } else if (length != 0 && *p == '[') { |