summaryrefslogtreecommitdiffstats
path: root/g10/keyserver.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-12-08 11:10:11 +0100
committerWerner Koch <wk@gnupg.org>2014-12-08 11:15:25 +0100
commit66ab8f807c96b778f2a2c82b58d3e15ac295e1b2 (patch)
treef168f9e21beee45897129c9fda8b56fc23e4358b /g10/keyserver.c
parentscd: Fix for EdDSA. (diff)
downloadgnupg2-66ab8f807c96b778f2a2c82b58d3e15ac295e1b2.tar.xz
gnupg2-66ab8f807c96b778f2a2c82b58d3e15ac295e1b2.zip
gpg: Write a status line for a failed --send-keys.
* g10/keyserver.c (keyserver_put): Write an status error.
Diffstat (limited to '')
-rw-r--r--g10/keyserver.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/keyserver.c b/g10/keyserver.c
index e3ad70743..6b603cd9c 100644
--- a/g10/keyserver.c
+++ b/g10/keyserver.c
@@ -1828,7 +1828,10 @@ keyserver_put (ctrl_t ctrl, strlist_t keyspecs,
release_kbnode (keyblock);
xfree (data);
if (err)
- log_error (_("keyserver send failed: %s\n"), gpg_strerror (err));
+ {
+ write_status_error ("keyserver_send", err);
+ log_error (_("keyserver send failed: %s\n"), gpg_strerror (err));
+ }
}
}