diff options
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 9bf32a11..a001c730 100644 --- a/src/nxt_sockaddr.c +++ b/src/nxt_sockaddr.c @@ -781,7 +781,7 @@ nxt_sockaddr_inet_parse(nxt_mp_t *mp, nxt_str_t *addr) sa = nxt_sockaddr_alloc(mp, sizeof(struct sockaddr_in), NXT_INET_ADDR_STR_LEN); - if (nxt_slow_path(sa != NULL)) { + if (nxt_fast_path(sa != NULL)) { sa->u.sockaddr_in.sin_family = AF_INET; sa->u.sockaddr_in.sin_port = htons((in_port_t) port); sa->u.sockaddr_in.sin_addr.s_addr = inaddr; |