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

Comments about the unused (never used?) config field: scfg_cmd

parent 1a1cbe16
No related branches found
No related tags found
No related merge requests found
......@@ -586,7 +586,7 @@ typedef struct
char readmail_mod[LEN_CMD+1]; /* Reading mail module */
char scanposts_mod[LEN_CMD+1]; /* Scanning posts (in a single sub) module */
char scansubs_mod[LEN_CMD+1]; /* Scanning sub-boards module */
char scfg_cmd[LEN_CMD+1]; /* SCFG command line */
char scfg_cmd[LEN_CMD+1]; /* SCFG command line - unused! */
uchar smb_retry_time; /* Seconds to retry on SMBs */
uint16_t sec_warn; /* Seconds before inactivity warning */
uint16_t sec_hangup; /* Seconds before inactivity hang-up */
......
......@@ -119,9 +119,7 @@ BOOL read_node_cfg(scfg_t* cfg, char* error)
if(!cfg->node_sem_check) cfg->node_sem_check=60;
get_int(cfg->node_stat_check,instream);
if(!cfg->node_stat_check) cfg->node_stat_check=10;
get_str(cfg->scfg_cmd,instream);
if(!cfg->scfg_cmd[0])
strcpy(cfg->scfg_cmd,"%!scfg %k");
get_str(cfg->scfg_cmd,instream); // unused
get_int(cfg->sec_warn,instream);
if(!cfg->sec_warn)
cfg->sec_warn=180;
......
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