This commit is contained in:
BullerDu 2022-12-16 01:15:15 +04:00
parent 08a1c0a1d9
commit 83edadac23
3 changed files with 4 additions and 4 deletions

View File

@ -544,8 +544,8 @@ ngx_conf_read_token(ngx_conf_t *cf)
}
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"unexpected end of file, "
"expecting \";\" or \"}\"");
"unexpected end of file, "
"expecting \";\" or \"}\"");
return NGX_ERROR;
}

View File

@ -88,7 +88,7 @@ ngx_event_recvmsg(ngx_event_t *ev)
msg.msg_controllen = sizeof(msg_control);
ngx_memzero(&msg_control, sizeof(msg_control));
}
}
#endif
n = recvmsg(lc->fd, &msg, 0);

View File

@ -335,7 +335,7 @@ ngx_get_srcaddr_cmsg(struct cmsghdr *cmsg, struct sockaddr *local_sockaddr)
#endif
#if (NGX_HAVE_IP_RECVDSTADDR)
#if (NGX_HAVE_IP_RECVDSTADDR)
if (cmsg->cmsg_level == IPPROTO_IP
&& cmsg->cmsg_type == IP_RECVDSTADDR