From 50b7dc2570cfc953b0960127845c63620a4372c1 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 5 Dec 2007 14:04:49 +0000 Subject: [PATCH] Strip trailing zeros git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8017 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/daemon/gosa-sd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.30.2