]> git.kaiwu.me - nginx.git/commitdiff
fix building on platforms which have no atomic operations support,
authorIgor Sysoev <igor@sysoev.ru>
Fri, 17 Apr 2009 19:11:31 +0000 (19:11 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 17 Apr 2009 19:11:31 +0000 (19:11 +0000)
the bug was introduced in r2564

src/core/ngx_log.c
src/core/ngx_log.h

index f1718f18577a9beed2955e7fbb3f6403566f4ff7..8c266b77d33a31572d5ed5533a96e896ebc66f9f 100644 (file)
@@ -184,9 +184,9 @@ ngx_log_debug_core(ngx_log_t *log, ngx_err_t err, const char *fmt, ...)
 
 
 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);
 }
 
 
index 1fd1ad8ad97548c07233362dca23368cf0e3636a..73de6fddc33e7a0d810d9798a6b114bb66399239 100644 (file)
@@ -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_create_errlog(ngx_cycle_t *cycle, ngx_array_t *args);
 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;