diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-05-16 06:25:30 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-05-16 06:25:30 +0000 |
commit | 83853412f9d38f9cf6acf939f2729bb539a9a493 (patch) | |
tree | 6d9a00f02947ecd7a5b9b291fe33da1f64f5664a /pgpkey.c | |
parent | 6844db8b014e21b7744ff6617df8f652c5a8b716 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |