Style.
This commit is contained in:
parent
bf5dcc3fb2
commit
95133893f9
@ -544,8 +544,8 @@ ngx_conf_read_token(ngx_conf_t *cf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
||||||
"unexpected end of file, "
|
"unexpected end of file, "
|
||||||
"expecting \";\" or \"}\"");
|
"expecting \";\" or \"}\"");
|
||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ ngx_event_recvmsg(ngx_event_t *ev)
|
|||||||
msg.msg_controllen = sizeof(msg_control);
|
msg.msg_controllen = sizeof(msg_control);
|
||||||
|
|
||||||
ngx_memzero(&msg_control, sizeof(msg_control));
|
ngx_memzero(&msg_control, sizeof(msg_control));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
n = recvmsg(lc->fd, &msg, 0);
|
n = recvmsg(lc->fd, &msg, 0);
|
||||||
|
@ -335,7 +335,7 @@ ngx_get_srcaddr_cmsg(struct cmsghdr *cmsg, struct sockaddr *local_sockaddr)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if (NGX_HAVE_IP_RECVDSTADDR)
|
#if (NGX_HAVE_IP_RECVDSTADDR)
|
||||||
|
|
||||||
if (cmsg->cmsg_level == IPPROTO_IP
|
if (cmsg->cmsg_level == IPPROTO_IP
|
||||||
&& cmsg->cmsg_type == IP_RECVDSTADDR
|
&& cmsg->cmsg_type == IP_RECVDSTADDR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user