From 5e86bb3e9984e4f6756ae038af89e705a4f1ca09 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Thu, 12 Jun 2008 19:12:08 +0000 Subject: [PATCH] * incrase number of arguments. --- ctdlphp/ctdlprotocol.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdlphp/ctdlprotocol.php b/ctdlphp/ctdlprotocol.php index 6ce5381dd..80b5a3219 100644 --- a/ctdlphp/ctdlprotocol.php +++ b/ctdlphp/ctdlprotocol.php @@ -372,7 +372,7 @@ function become_logged_in($server_parms) { function ctdl_get_serv_info() { serv_puts("INFO"); $reply = read_array(); - if ((count($reply) == 22) && + if ((count($reply) == 23) && substr($reply[0], 0, 1) == "1") { $server_info=array(); $server_info["serv_nodename"] = $reply[1]; -- 2.30.2