Skip to content
Snippets Groups Projects
Commit a8f1c857 authored by deuce's avatar deuce
Browse files

Quick "fix" for "%compression none" areafix command.

May fix a crash, may eat your cat.  If it breaks, you get to keep both
the pieces.
parent 973d76de
No related branches found
No related tags found
No related merge requests found
......@@ -1182,7 +1182,7 @@ void command(char* instr, faddr_t addr, char* to)
return;
}
alter_config(addr,cfg.arcdef[cfg.nodecfg[node].arctype].name
,cfg.arcdef[i].name,0);
,i<cfg.arcdefs?cfg.arcdef[i].name:p,0);
cfg.nodecfg[node].arctype=i;
sprintf(str,"Compression type changed to %s.",cfg.arcdef[i].name);
create_netmail(to,"Compression Type Change",str,addr,FALSE);
......
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