diff options
Diffstat (limited to 'mailutils')
-rw-r--r-- | mailutils/sendmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mailutils/sendmail.c b/mailutils/sendmail.c index 4ca91fad8..0170f2870 100644 --- a/mailutils/sendmail.c +++ b/mailutils/sendmail.c @@ -173,7 +173,7 @@ static char *angle_address(char *str) char *s, *e; e = trim(str); - if (e != str && e[-1] == '>') { + if (e != str && *--e == '>') { s = strrchr(str, '<'); if (s) { *e = '\0'; |