[padb-devel] [padb] r147 committed - Add the hostname and port information to the error message when...

codesite-noreply at google.com codesite-noreply at google.com
Tue Aug 25 10:51:13 BST 2009


Revision: 147
Author: apittman
Date: Tue Aug 25 02:51:02 2009
Log: Add the hostname and port information to the error message when
failing to connect to host.

http://code.google.com/p/padb/source/detail?r=147

Modified:
  /trunk/src/padb

=======================================
--- /trunk/src/padb	Mon Aug 24 10:33:09 2009
+++ /trunk/src/padb	Tue Aug 25 02:51:02 2009
@@ -3188,7 +3188,7 @@
          PeerAddr => $host,
          PeerPort => $port,
          Proto    => 'tcp',
-    ) or die("Failed to connect to child");
+    ) or die("Failed to connect to child ($host:port)");

      print $socket "hello $word\n";





More information about the padb-devel mailing list