From: cajus Date: Wed, 5 Dec 2007 14:04:49 +0000 (+0000) Subject: Strip trailing zeros X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=50b7dc2570cfc953b0960127845c63620a4372c1;p=gosa.git Strip trailing zeros git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8017 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/contrib/daemon/gosa-sd b/contrib/daemon/gosa-sd index 484111b25..b291b0425 100755 --- a/contrib/daemon/gosa-sd +++ b/contrib/daemon/gosa-sd @@ -512,12 +512,12 @@ sub get_processing_child { no strict "refs"; my $answer; while( my ($module, $tag_hash) = each(%$known_modules)) { - if(exists $known_modules->{$module}->{server_packages}) { + #if(exists $known_modules->{$module}->{server_packages}) { my $tmp = &{ $module."::process_incoming_msg" }($msg); if (defined $tmp) { $answer = $tmp; } - } + #} } &print_known_daemons(); @@ -900,6 +900,7 @@ sub decrypt_msg { my $msg = $my_cipher->decrypt($crypted_msg); #my $msg = $crypted_msg; #$msg =~ s/^a*//gi; + $msg =~ s/\0*$//gi; return $msg; }