From f1579e11af0e49fc5d594698928e1408783eec08 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 7 May 2008 06:04:13 +0000 Subject: [PATCH] Added more specific error message to socket class. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10796 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_socketClient.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_socketClient.inc b/gosa-core/include/class_socketClient.inc index 1cef298c7..dda0f6ec2 100644 --- a/gosa-core/include/class_socketClient.inc +++ b/gosa-core/include/class_socketClient.inc @@ -105,7 +105,7 @@ class Socket_Client $this->handle = @fsockopen($this->host, $this->port, $this->errno, $this->errstr, $this->timeout); if(!$this->handle){ $this->handle = NULL; - $this->set_error( $this->errstr); + $this->set_error(sprintf(_("Socket connection to host '%s:%s' failed with error: %s."),$this->host,$this->port,$this->errstr)); }else{ $this->b_data_send = TRUE; -- 2.30.2