Use $$r{server} instead of $1 in log message.

Thanks to Tuomo Soini for pointing this out to me

Signed-off-by: Simon Horman <[EMAIL PROTECTED]>

Index: heartbeat/ldirectord/ldirectord.in
===================================================================
--- heartbeat.orig/ldirectord/ldirectord.in     2007-07-03 17:02:52.000000000 
+0900
+++ heartbeat/ldirectord/ldirectord.in  2007-07-03 19:01:40.000000000 +0900
@@ -2550,7 +2552,7 @@ sub check_connect
                        alarm 0; # Cancel the alarm
                        die("Socket Connect Failed");
                }
-               &ld_debug(3, "Connected to $1 (port $port)");
+               &ld_debug(3, "Connected to $$r{server} (port $port)");
                alarm 0; # Cancel the alarm
        };
        if ($@) {

-- 

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to