From 91dfe779ff023dd41497ab66d1e063ddf3f49890 Mon Sep 17 00:00:00 2001 From: Unbit Date: Sat, 8 Mar 2014 06:38:50 +0100 Subject: [PATCH] fixed typo --- plugins/corerouter/cr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/corerouter/cr.h b/plugins/corerouter/cr.h index 144b602c..63377012 100644 --- a/plugins/corerouter/cr.h +++ b/plugins/corerouter/cr.h @@ -8,7 +8,7 @@ #define cr_del_timeout(u, x) uwsgi_del_rb_timer(u->timeouts, x->timeout); free(x->timeout); #define uwsgi_cr_error(x, y) uwsgi_log("[uwsgi-%s key: %.*s client_addr: %s client_port: %s] %s: %s [%s line %d]\n", x->session->corerouter->short_name, x->session->main_peer ? x->session->main_peer->key_len : 0, x->session->main_peer ? x->session->main_peer->key: "", x->session->client_address, x->session->client_port, y, strerror(errno), __FILE__, __LINE__) -#define uwsgi_cr_log(x, y, ...) uwsgi_log("[uwsgi-%s key: %.*s client_addr: %s client_port: %s]" y, x->session->corerouter->short_name, x->session->main_peer ? x->session->main_peer->key_len : 0, x->session->main_peer ? x->session->main_peer->key : "" x->session->client_address, x->session->client_port, __VA_ARGS__) +#define uwsgi_cr_log(x, y, ...) uwsgi_log("[uwsgi-%s key: %.*s client_addr: %s client_port: %s]" y, x->session->corerouter->short_name, x->session->main_peer ? x->session->main_peer->key_len : 0, x->session->main_peer ? x->session->main_peer->key : "", x->session->client_address, x->session->client_port, __VA_ARGS__) #define cr_try_again if (errno == EAGAIN || errno == EWOULDBLOCK || errno == EINPROGRESS) {\ errno = EINPROGRESS;\