From: hickert Date: Wed, 7 May 2008 06:04:13 +0000 (+0000) Subject: Added more specific error message to socket class. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f1579e11af0e49fc5d594698928e1408783eec08;p=gosa.git Added more specific error message to socket class. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10796 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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;