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

Changed the default max_qwkmsgage value from 30 days to 0 (unlimited).

parent ccbdf03b
No related branches found
No related tags found
No related merge requests found
......@@ -437,13 +437,11 @@ BOOL read_msgs_cfg(scfg_t* cfg, char* error)
get_int(cfg->smb_retry_time,instream); /* odd byte */
if(!cfg->smb_retry_time)
cfg->smb_retry_time=30;
for(i=0;i<234;i++) /* NULL */
get_int(cfg->max_qwkmsgage, instream);
for(i=0;i<233;i++) /* NULL */
get_int(n,instream);
get_int(cfg->msg_misc,instream);
get_int(cfg->max_qwkmsgage, instream);
if(cfg->max_qwkmsgage == 0xffff) /* default */
cfg->max_qwkmsgage = 30; /* days */
for(i=0;i<254;i++) /* 0xff */
for(i=0;i<255;i++) /* 0xff */
get_int(n,instream);
/******************/
......
......@@ -458,13 +458,13 @@ BOOL DLLCALL write_msgs_cfg(scfg_t* cfg, int backup_level)
put_int(cfg->mail_maxage,stream);
put_str(cfg->preqwk_arstr,stream);
put_int(cfg->smb_retry_time,stream);
put_int(cfg->max_qwkmsgage,stream);
n=0;
for(i=0;i<234;i++)
for(i=0;i<233;i++)
put_int(n,stream);
put_int(cfg->msg_misc,stream);
put_int(cfg->max_qwkmsgage,stream);
n=0xffff;
for(i=0;i<254;i++)
for(i=0;i<255;i++)
put_int(n,stream);
/* Message Groups */
......
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