From 1c5920c0b06792ae6be41cfdfd8bc6faba4c3321 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Fri, 22 Apr 2016 19:55:23 +1000 Subject: [PATCH] Why must you be so painful ansi? why? --- mail_menu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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