summaryrefslogtreecommitdiffstats
path: root/pgpkey.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-05-16 06:25:30 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-05-16 06:25:30 +0000
commit83853412f9d38f9cf6acf939f2729bb539a9a493 (patch)
tree6d9a00f02947ecd7a5b9b291fe33da1f64f5664a /pgpkey.c
parent6844db8b014e21b7744ff6617df8f652c5a8b716 (diff)
Add a couple of token delimiters when constructing hints. This way,
addresses like "Chr. xyz" <xyz@foo.bar.baz> will match key IDs like xyz <xyz@bar>.
Diffstat (limited to 'pgpkey.c')
-rw-r--r--pgpkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pgpkey.c b/pgpkey.c
index eb588a2c..869fef00 100644
--- a/pgpkey.c
+++ b/pgpkey.c
@@ -729,11 +729,11 @@ static LIST *pgp_add_string_to_hints (LIST *hints, const char *str)
char *scratch = safe_strdup (str);
char *t;
- t = strtok (scratch, " \n");
+ t = strtok (scratch, " ,.:\"()<>\n");
while (t)
{
hints = mutt_add_list (hints, t);
- t = strtok (NULL, " \n");
+ t = strtok (NULL, " ,.:\"()<>\n");
}
safe_free ((void **) &scratch);