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

Bug-fix: only set the reverse_path to the from_net.addr if from_net.type==

NET_INTERNET. reverse_path must point to an ASCII string and if from_net.type==
NET_FIDO, then reverse_path would point to garbage (binary FTN address).
parent 53124bf0
No related branches found
No related tags found
No related merge requests found
......@@ -982,7 +982,7 @@ int SMBCALL smb_getmsghdr(smb_t* smb, smbmsg_t* msg)
if(msg->subj==NULL) msg->subj=nulstr;
/* If no reverse path specified, use sender's address */
if(msg->reverse_path == NULL)
if(msg->reverse_path == NULL && msg->from_net.type==NET_INTERNET)
msg->reverse_path = msg->from_net.addr;
return(SMB_SUCCESS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment