[Pkg-privacy-commits] [msva-perl] 206/356: print msva return message to stdout in query-agent
Ximin Luo
infinity0 at moszumanska.debian.org
Mon Aug 24 07:41:57 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository msva-perl.
commit 39fe74388072f4f4a340cdadba6d15dac5d63575
Author: Jameson Rollins <jrollins at finestructure.net>
Date: Sat Oct 30 10:28:06 2010 -0400
print msva return message to stdout in query-agent
msva-query-agent is not using stdout. I believe that stdout is the
appropriate place to return the query status message from the server.
---
msva-query-agent | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/msva-query-agent b/msva-query-agent
index 1eaff50..104691b 100755
--- a/msva-query-agent
+++ b/msva-query-agent
@@ -41,8 +41,8 @@ my ($status,$ret) = $client->query_agent($context,$peer,$pkctype,$pkcdata);
$client->log('info', "status: %s\n", $status);
if (defined $ret) {
$client->log('info', "valid: %s\n", $ret->{valid});
- $client->log('fatal', "message: %s\n", $ret->{message});
$client->log('info', "server: %s\n", $ret->{server});
+ printf("%s\n", $ret->{message});
exit 0
if ($ret->{valid});
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/msva-perl.git
More information about the Pkg-privacy-commits
mailing list