From: willy tarreau Date: Thu, 23 Mar 2006 10:22:10 +0000 (+0100) Subject: * The displayed proxy name was wrong when dumping upon SIGHUP. X-Git-Tag: v1.2.10.1~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1fb349349261055d21de832528a16ad50e1fd113;p=thirdparty%2Fhaproxy.git * The displayed proxy name was wrong when dumping upon SIGHUP. --- diff --git a/haproxy.c b/haproxy.c index 79d2185771..67dce3dd3d 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;