Fixes for WWIV kludges
This commit is contained in:
parent
eb1d187207
commit
a80510508d
@ -582,13 +582,9 @@ void read_message(int socket, struct user_record *user, struct msg_headers *msgh
|
|||||||
for (z=0;z<msghs->msgs[mailno]->msg_h->TxtLen;z++) {
|
for (z=0;z<msghs->msgs[mailno]->msg_h->TxtLen;z++) {
|
||||||
if (body[z] == '\r') {
|
if (body[z] == '\r') {
|
||||||
body2[z2++] = '\r';
|
body2[z2++] = '\r';
|
||||||
|
if (body[z+1] == '\n') {
|
||||||
z++;
|
z++;
|
||||||
if (body[z+1] == 4 && body[z+2] == '0') {
|
|
||||||
skip_line = 1;
|
|
||||||
} else {
|
|
||||||
skip_line = 0;
|
|
||||||
}
|
}
|
||||||
} else if (body[z] == '\n') {
|
|
||||||
if (body[z+1] == 4 && body[z+2] == '0') {
|
if (body[z+1] == 4 && body[z+2] == '0') {
|
||||||
skip_line = 1;
|
skip_line = 1;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user