aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-keyboxd.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/call-keyboxd.c')
-rw-r--r--g10/call-keyboxd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/call-keyboxd.c b/g10/call-keyboxd.c
index 9042c833c..e2fede235 100644
--- a/g10/call-keyboxd.c
+++ b/g10/call-keyboxd.c
@@ -759,7 +759,8 @@ keydb_search (KEYDB_HANDLE hd, KEYDB_SEARCH_DESC *desc,
break;
case KEYDB_SEARCH_MODE_MAIL:
- snprintf (line, sizeof line, "SEARCH %s -- <%s", more, desc->u.name);
+ snprintf (line, sizeof line, "SEARCH %s -- <%s",
+ more, desc->u.name+(desc->u.name[0] == '<') );
break;
case KEYDB_SEARCH_MODE_MAILSUB: