Code

Updated toggle method
[gosa.git] / gosa-core / include / class_socketClient.inc
index dda0f6ec200667dffc501507809ac265f34a9eba..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(sprintf(_("Socket connection to host '%s:%s' failed with error: %s."),$this->host,$this->port,$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;