summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_sockaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_sockaddr.c')
-rw-r--r--src/nxt_sockaddr.c2
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 == '[') {