aboutsummaryrefslogtreecommitdiff
path: root/mailutils/sendmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'mailutils/sendmail.c')
-rw-r--r--mailutils/sendmail.c2
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';