From 9d0204745c0075bc34599ca2d2bef7c94a201038 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Wed, 7 May 2008 09:49:41 +0000 Subject: [PATCH] bugfix: correct set of delivered messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10814 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++ ; } } -- 2.30.2