scd: Don't put newline at the end of status.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 15 May 2019 08:12:23 +0000 (17:12 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 15 May 2019 08:12:23 +0000 (17:12 +0900)
* scd/command.c (send_keyinfo): Remove newline.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/command.c

index 6b80341..9173a68 100644 (file)
@@ -1881,7 +1881,7 @@ send_keyinfo (ctrl_t ctrl, int data, const char *keygrip_str,
   char *string;
   assuan_context_t ctx = ctrl->server_local->assuan_ctx;
 
-  string = xtryasprintf ("%s T %s %s\n", keygrip_str,
+  string = xtryasprintf ("%s T %s %s", keygrip_str,
                          serialno? serialno : "-",
                          idstr? idstr : "-");
   if (!string)