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

More use of SAFEPRINTF

parent 7da4af1b
Branches
Tags
No related merge requests found
......@@ -975,7 +975,7 @@ BOOL DLLCALL write_chat_cfg(scfg_t* cfg, int backup_level)
if(cfg->prepped)
return(FALSE);
sprintf(str,"%schat.cnf",cfg->ctrl_dir);
SAFEPRINTF(str,"%schat.cnf",cfg->ctrl_dir);
backup(str, backup_level, TRUE);
if((file=nopen(str,O_WRONLY|O_CREAT|O_TRUNC))==-1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment