off by 1 in displaying only new messages

This commit is contained in:
Andrew Pamment 2016-04-22 22:06:28 +10:00
parent 86167c1a4d
commit f7ad928a57

View File

@ -1537,6 +1537,7 @@ int mail_menu(int socket, struct user_record *user) {
break; break;
} }
} }
i++;
} else { } else {
i = atoi(buffer); i = atoi(buffer);
if (i < 0) { if (i < 0) {