Skip to content
Snippets Groups Projects
Commit 8f6e8398 authored by rswindell's avatar rswindell
Browse files

When imorting echomail with a missing or invalid origin line, use the

default (system) zone if no zone specified in header.
parent e25e505b
Branches
Tags
No related merge requests found
......@@ -2483,6 +2483,8 @@ int fmsgtosmsg(uchar* fbuf, fmsghdr_t fmsghdr, uint user, uint subnum)
net=NET_FIDO; /* Record origin address */
if(net) {
if(origaddr.zone==0)
origaddr.zone = sys_faddr.zone;
smb_hfield(&msg,SENDERNETTYPE,sizeof(ushort),&net);
smb_hfield(&msg,SENDERNETADDR,sizeof(fidoaddr_t),&origaddr); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment