diff options
author | Werner Koch <[email protected]> | 2014-12-19 11:03:38 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-12-19 11:03:38 +0000 |
commit | aad8963f7b9d13b319abd413db8f42ec467db913 (patch) | |
tree | 7b3ab9ff49d9cd43a722f9b13026972c55e73aaa | |
parent | build: Remove option to build without agent. (diff) | |
download | gnupg-aad8963f7b9d13b319abd413db8f42ec467db913.tar.gz gnupg-aad8963f7b9d13b319abd413db8f42ec467db913.zip |
agent: Fix string prepended to remotely initiated prompts.
* agent/command.c (cmd_setkeydesc): Use %0A and not \n. Make
translatable.
Signed-off-by: Werner Koch <[email protected]>
-rw-r--r-- | agent/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/command.c b/agent/command.c index c875f5516..eba766bc4 100644 --- a/agent/command.c +++ b/agent/command.c @@ -731,7 +731,7 @@ cmd_setkeydesc (assuan_context_t ctx, char *line) if (ctrl->restricted) ctrl->server_local->keydesc = strconcat - ("Note: Request from a remote site.\n\n", desc, NULL); + (_("Note: Request from a remote site."), "%0A%0A", desc, NULL); else ctrl->server_local->keydesc = xtrystrdup (desc); if (!ctrl->server_local->keydesc) |