From: rettenbe Date: Wed, 7 May 2008 09:49:41 +0000 (+0000) Subject: bugfix: correct set of delivered messages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9d0204745c0075bc34599ca2d2bef7c94a201038;p=gosa.git bugfix: correct set of delivered messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10814 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index fab6e0f68..8a897ebee 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1471,7 +1471,7 @@ sub watch_for_delivery_messages { my %data = ('subject' => $subject, 'message' => $message, 'usr' => $receiver); my $out_msg = &build_msg("usr_msg", $server_address, $receiver_host, \%data ); my $error = &send_msg_to_target($out_msg, $receiver_host, $receiver_key, "usr_msg", 0); - if ($error != 0 ) { + if ($error == 0 ) { $send_succeed++ ; } }