projects
/
monkeysphere-validation-agent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0027dfb
)
print msva return message to stdout in query-agent
author
Jameson Rollins
<jrollins@finestructure.net>
Sat, 30 Oct 2010 14:28:06 +0000
(10:28 -0400)
committer
Jameson Rollins
<jrollins@finestructure.net>
Sat, 30 Oct 2010 14:28:06 +0000
(10:28 -0400)
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
patch
|
blob
|
history
diff --git
a/msva-query-agent
b/msva-query-agent
index 1eaff50adcf5365b040423baaf2f1d3eb00ea17d..104691b1d4c437d0c2074bc02038f9c5577ae295 100755
(executable)
--- 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});
}