Code

Moved from ! to not defined
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Feb 2008 11:59:27 +0000 (11:59 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Feb 2008 11:59:27 +0000 (11:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8855 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index 52729a954de58cba958b6f18cdc5230d6cb2a40d..d0e45264bc448a52e25350194a0607b42a3a9589 100755 (executable)
@@ -590,7 +590,6 @@ sub get_encrypt_key {
             last;
         }
     }
-   
 
     # target can be in known_client
     if( not defined $encrypt_key ) {
@@ -944,7 +943,7 @@ sub client_input {
                     # answer is for one specific host
                     # get encrypt_key
                     my $encrypt_key = &get_encrypt_key($answer_target);
-                    if( !$encrypt_key ) {
+                    if( not defined $encrypt_key ) {
                         # unknown target, forward msg to bus
                         daemon_log("WARNING: unknown target '$answer_target', forward msg to bus", 3);
                         my $sql_statement = "SELECT * FROM known_server WHERE hostname='$bus_address'";