Code

Fixed typo
[gosa.git] / gosa-core / include / class_socketClient.inc
index 1cef298c7289818374fc2fec5eafa602c6662562..4442e1c5017729efdbccdfd6513655a279c079e7 100644 (file)
@@ -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: %s"),$this->host,$this->port,$this->errstr));
     }else{
       $this->b_data_send = TRUE;