diff --git a/mail_menu.c b/mail_menu.c index f12a8ed..0ead68f 100644 --- a/mail_menu.c +++ b/mail_menu.c @@ -826,7 +826,7 @@ void read_message(int socket, struct user_record *user, struct msg_headers *msgh s_putstring(socket, buffer); } else if (body[z] == 'A') { j = atoi(&body[ansi + 2]); - if (j == 0 && ansi + 3 == z) { + if (j == 0 && ansi + 2 == z) { j = 1; } for (i=0;i