Code

add single quotation marks in daemon_log line
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 May 2009 13:47:42 +0000 (13:47 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 May 2009 13:47:42 +0000 (13:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13633 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-client
gosa-si/gosa-si-server

index e24b8d1194ef5f6b0b7e0523fb4c928442fe599e..d2084e2abf6e93b3999bae4c04c267a55255315d 100755 (executable)
@@ -456,7 +456,7 @@ sub send_msg_to_target {
     # opensocket
     my $socket = &open_socket($address);
     if( !$socket ) {
-        daemon_log("WARNING: cannot send ".$msg_header."msg to $address , host not reachable", 3);
+        daemon_log("WARNING: cannot send ".$msg_header."msg to '$address', host not reachable", 3);
         if ($REGISTERED == 1) {
             $REGISTERED = 0;        # if server is not available, cause reregistering
             daemon_log("INFO: cause reregistering at gosa-si-server", 5); 
index 9917b1271f199efac8a14f855d60aa97c325d792..e652480a30134415faf11d197e3224c6d36d4aac 100755 (executable)
@@ -895,7 +895,7 @@ sub send_msg_to_target {
     # opensocket
     my $socket = &open_socket($address);
     if( !$socket ) {
-        daemon_log("$session_id WARNING: cannot send ".$header."msg to $address , host not reachable", 3);
+        daemon_log("$session_id WARNING: cannot send ".$header."msg to '$address' , host not reachable", 3);
         $error++;
     }