From e20a7e3220c94e64cafd8912b48ef1ae1c8eb113 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 11 Feb 2008 16:39:32 +0000 Subject: [PATCH] REGISTERED_FLAG is now REGISTERED with correct integer git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8840 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-client | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index 456f70a9c..c1f2f1c47 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -55,7 +55,7 @@ our $client_address; our $server_key; # default variables -our $REGISTERED_FLAG = 1; +our $REGISTERED = 0; %cfg_defaults = ( "general" => @@ -826,7 +826,7 @@ sub open_socket { sub register_at_gosa_si_server { my ($kernel) = $_[KERNEL]; - if( $REGISTERED_FLAG == 1 ) { + if( $REGISTERED ) { # create new passwd and ciphering object for client-server communication $server_key = &create_passwd(); @@ -1017,7 +1017,7 @@ sub server_input { # preprocessing if( $answer =~ "
registered
") { # set registered flag to true to stop sending further registered msgs - $REGISTERED_FLAG = 0; + $REGISTERED = 1; } else { &send_msg_to_target($answer, $server_address, $server_key); -- 2.30.2