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

More fixin's for the crash reported by access_d.

parent a8f1c857
No related branches found
No related tags found
No related merge requests found
...@@ -1184,7 +1184,7 @@ void command(char* instr, faddr_t addr, char* to) ...@@ -1184,7 +1184,7 @@ void command(char* instr, faddr_t addr, char* to)
alter_config(addr,cfg.arcdef[cfg.nodecfg[node].arctype].name alter_config(addr,cfg.arcdef[cfg.nodecfg[node].arctype].name
,i<cfg.arcdefs?cfg.arcdef[i].name:p,0); ,i<cfg.arcdefs?cfg.arcdef[i].name:p,0);
cfg.nodecfg[node].arctype=i; cfg.nodecfg[node].arctype=i;
sprintf(str,"Compression type changed to %s.",cfg.arcdef[i].name); sprintf(str,"Compression type changed to %s.",i<cfg.arcdefs?cfg.arcdef[i].name:p);
create_netmail(to,"Compression Type Change",str,addr,FALSE); create_netmail(to,"Compression Type Change",str,addr,FALSE);
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment