]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
* The displayed proxy name was wrong when dumping upon SIGHUP.
authorwilly tarreau <willy@wtap.(none)>
Thu, 23 Mar 2006 10:22:10 +0000 (11:22 +0100)
committerwilly tarreau <willy@wtap.(none)>
Thu, 23 Mar 2006 10:22:10 +0000 (11:22 +0100)
haproxy.c

index 79d2185771817c2e37f6e0a337c7da031d76283d..67dce3dd3d70305fb547bb09ce469aaa8ffc634f 100644 (file)
--- 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;