From: timriker Date: Wed, 10 Nov 2004 04:07:37 +0000 (+0000) Subject: comment X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ab62f29264dd979b7084e9092658287f14801c99;p=infobot.git comment git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1037 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/BZFlag.pl b/src/Modules/BZFlag.pl index df90abc..c52d07e 100755 --- a/src/Modules/BZFlag.pl +++ b/src/Modules/BZFlag.pl @@ -138,6 +138,7 @@ sub BZFlag::querytext { $server = pack($sockaddr, AF_INET, $port, $serveraddr); # connect + # TODO wrap this with a 5 second alarm() return 'socket() error' unless socket(S1, AF_INET, SOCK_STREAM, $proto); return "could not connect to $servername:$port" unless connect(S1, $server);