[Pkg-privacy-commits] [msva-perl] 14/15: msva-query-agent: produce newline-terminated output

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:42:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository msva-perl.

commit 58399467d2507a2d76f2cb9a7c204d0f410987bc
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Mon Sep 9 02:22:18 2013 -0400

    msva-query-agent: produce newline-terminated output
---
 Changelog        | 1 +
 msva-query-agent | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Changelog b/Changelog
index cde02bf..8d2e8a2 100644
--- a/Changelog
+++ b/Changelog
@@ -5,6 +5,7 @@ msva-perl (0.9.2) upstream;
   * handle multiple keyserver entries in gpg.conf gracefully
     (closes MS #6252)
   * also accept DOS-style CR/LF line endings in PEM-encoded X.509 certs
+  * msva-query-agent: produce newline-terminated output.
 
  -- Daniel Kahn Gillmor <dkg at fifthhorseman.net>  Mon, 09 Sep 2013 01:16:47 -0400
 
diff --git a/msva-query-agent b/msva-query-agent
index 44a2e32..8ee8b81 100755
--- a/msva-query-agent
+++ b/msva-query-agent
@@ -43,7 +43,7 @@ if ((!defined($context)) ||
   my ($status,$ret) = $client->agent_info();
   $client->log('verbose', "status: %s\n", $status);
   if (defined $ret) {
-    printf("%s", $ret->{server});
+    printf("%s\n", $ret->{server});
     exit 0;
   }
   exit 1;
@@ -80,7 +80,7 @@ if (defined $ret) {
     exit 1;
   }
 } else {
-  printf("%s", $status);
+  printf("%s\n", $status);
   exit 100;
 }
 

-- 
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