From 01730529f20882cd98882a61408e9bee960c86f1 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 15 May 2019 17:12:23 +0900 Subject: scd: Don't put newline at the end of status. * scd/command.c (send_keyinfo): Remove newline. Signed-off-by: NIIBE Yutaka --- scd/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scd/command.c b/scd/command.c index 6b80341e4..9173a6843 100644 --- a/scd/command.c +++ b/scd/command.c @@ -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) -- cgit v1.2.3