From 1fb349349261055d21de832528a16ad50e1fd113 Mon Sep 17 00:00:00 2001 From: willy tarreau Date: Thu, 23 Mar 2006 11:22:10 +0100 Subject: [PATCH] * The displayed proxy name was wrong when dumping upon SIGHUP. --- haproxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haproxy.c b/haproxy.c index 79d218577..67dce3dd3 100644 --- a/haproxy.c +++ b/haproxy.c @@ -5991,8 +5991,8 @@ void sig_dump_state(int sig) { } if (find_server(p) == NULL) { - Warning("SIGHUP: Proxy %s has no server available !\n", p); - send_log(p, LOG_NOTICE, "SIGHUP: Proxy %s has no server available !\n", p); + Warning("SIGHUP: Proxy %s has no server available !\n", p->id); + send_log(p, LOG_NOTICE, "SIGHUP: Proxy %s has no server available !\n", p->id); } p = p->next;