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

Fix "Error writing /path/to/sbbs.ini" when using '-f' option.

Wasn't opening the sbbs.ini file for modify access.

As reported via DOVE-Net by Accession (PHARCYDE)
parent e4b6cfaa
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4662 passed
......@@ -2467,7 +2467,7 @@ void bail(int code)
sbbs_get_ini_fname(cfg.filename, cfg.ctrl_dir);
fp = iniOpenFile(cfg.filename, /* for_modify? */false);
fp = iniOpenFile(cfg.filename, /* for_modify? */true);
if(fp == NULL)
uifc.msgf("Error opening %s", cfg.filename);
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment