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

Bugfix: write_main_cfg() wasn't saving the user and mail backup levels.

parent dcc15841
Branches
Tags
No related merge requests found
......@@ -348,9 +348,12 @@ BOOL DLLCALL write_main_cfg(scfg_t* cfg, int backup_level)
for(i=0;i<158;i++)
put_int(n,stream);
n=(ushort)0xffff;
for(i=0;i<256;i++)
for(i=0;i<254;i++)
put_int(n,stream);
put_int(cfg->user_backup_level,stream);
put_int(cfg->mail_backup_level,stream);
n=0;
for(i=0;i<10;i++) {
put_int(cfg->val_level[i],stream);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment