Replace asprintf()s not covered by the merge to xasprintf().
This commit is contained in:
parent
1cbddbd573
commit
4bdf0e80ee
3 changed files with 12 additions and 12 deletions
|
|
@ -270,7 +270,7 @@ int reload_configuration(void) {
|
|||
c->outgoing = NULL;
|
||||
}
|
||||
|
||||
asprintf(&fname, "%s/hosts/%s", confbase, c->name);
|
||||
xasprintf(&fname, "%s/hosts/%s", confbase, c->name);
|
||||
if(stat(fname, &s) || s.st_mtime > last_config_check)
|
||||
terminate_connection(c, c->status.active);
|
||||
free(fname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue