mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
Style
This commit is contained in:
parent
d994f5b822
commit
455fbf8c45
5 changed files with 5 additions and 7 deletions
|
|
@ -438,8 +438,8 @@ ngx_kqueue_set_event(ngx_event_t *ev, ngx_int_t filter, ngx_uint_t flags)
|
|||
if (filter == EVFILT_VNODE) {
|
||||
kev->fflags = NOTE_DELETE|NOTE_WRITE|NOTE_EXTEND
|
||||
|NOTE_ATTRIB|NOTE_RENAME
|
||||
#if (__FreeBSD__ == 4 && __FreeBSD_version >= 430000) \
|
||||
|| __FreeBSD_version >= 500018
|
||||
#if (__FreeBSD__ == 4 && __FreeBSD_version >= 430000) \
|
||||
|| __FreeBSD_version >= 500018
|
||||
|NOTE_REVOKE
|
||||
#endif
|
||||
;
|
||||
|
|
|
|||
|
|
@ -1171,7 +1171,7 @@ ngx_ssl_crl(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *crl)
|
|||
static ngx_inline ngx_int_t
|
||||
ngx_ssl_cert_already_in_hash(void)
|
||||
{
|
||||
#if !(OPENSSL_VERSION_NUMBER >= 0x1010009fL \
|
||||
#if !(OPENSSL_VERSION_NUMBER >= 0x1010009fL \
|
||||
|| LIBRESSL_VERSION_NUMBER >= 0x3050000fL)
|
||||
u_long error;
|
||||
|
||||
|
|
|
|||
|
|
@ -663,4 +663,3 @@ ngx_http_upstream_least_time(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||
|
||||
return ngx_conf_set_enum_slot(cf, cmd, conf);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -162,8 +162,8 @@ ngx_os_specific_init(ngx_log_t *log)
|
|||
* to allow an old binary to run correctly on an updated FreeBSD system.
|
||||
*/
|
||||
|
||||
#if (__FreeBSD__ == 4 && __FreeBSD_version >= 460102) \
|
||||
|| __FreeBSD_version == 460002 || __FreeBSD_version >= 500039
|
||||
#if (__FreeBSD__ == 4 && __FreeBSD_version >= 460102) \
|
||||
|| __FreeBSD_version == 460002 || __FreeBSD_version >= 500039
|
||||
|
||||
/* a new syscall without the bug */
|
||||
|
||||
|
|
|
|||
|
|
@ -664,4 +664,3 @@ ngx_stream_upstream_least_time(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||
|
||||
return ngx_conf_set_enum_slot(cf, cmd, conf);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue