Skip to content
Snippets Groups Projects
Commit 1fb16776 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Read/write the new sbbs.ini [Mail] PostTo setting

Whoops, missed this from the previous commit.

But testing the pipes for jsexec crashes too, so that's not a bad thing.
parent b8f2df8a
No related branches found
No related tags found
No related merge requests found
Pipeline #7964 passed
......@@ -671,6 +671,8 @@ void sbbs_read_ini(
SAFECOPY(mail->default_user
, iniGetString(list, section, "DefaultUser", nulstr, value));
SAFECOPY(mail->post_to
, iniGetString(list, section, "PostTo", nulstr, value));
SAFECOPY(mail->dnsbl_hdr
, iniGetString(list, section, "DNSBlacklistHeader", "X-DNSBL", value));
......@@ -1221,6 +1223,8 @@ bool sbbs_write_ini(
if (!iniSetString(lp, section, "DefaultUser", mail->default_user, &style))
break;
if (!iniSetString(lp, section, "PostTo", mail->post_to, &style))
break;
if (!iniSetString(lp, section, "DNSBlacklistHeader", mail->dnsbl_hdr, &style))
break;
......
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