mirror of
https://github.com/nginx/nginx.git
synced 2024-12-13 02:39:00 +08:00
fix building on platforms which have no atomic operations support,
the bug was introduced in r2564
This commit is contained in:
parent
b072c3d647
commit
61b7791486
@ -184,9 +184,9 @@ ngx_log_debug_core(ngx_log_t *log, ngx_err_t err, const char *fmt, ...)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ngx_log_abort(ngx_err_t err, const char *text)
|
ngx_log_abort(ngx_err_t err, const char *text, void *param)
|
||||||
{
|
{
|
||||||
ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, err, text);
|
ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, err, text, param);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -198,7 +198,7 @@ void ngx_cdecl ngx_log_debug_core(ngx_log_t *log, ngx_err_t err,
|
|||||||
ngx_log_t *ngx_log_init(void);
|
ngx_log_t *ngx_log_init(void);
|
||||||
ngx_log_t *ngx_log_create_errlog(ngx_cycle_t *cycle, ngx_array_t *args);
|
ngx_log_t *ngx_log_create_errlog(ngx_cycle_t *cycle, ngx_array_t *args);
|
||||||
char *ngx_set_error_log_levels(ngx_conf_t *cf, ngx_log_t *log);
|
char *ngx_set_error_log_levels(ngx_conf_t *cf, ngx_log_t *log);
|
||||||
void ngx_log_abort(ngx_err_t err, const char *text);
|
void ngx_log_abort(ngx_err_t err, const char *text, void *param);
|
||||||
|
|
||||||
|
|
||||||
extern ngx_module_t ngx_errlog_module;
|
extern ngx_module_t ngx_errlog_module;
|
||||||
|
Loading…
Reference in New Issue
Block a user