projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace asprintf()s not covered by the merge to xasprintf().
[oweals/tinc.git]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index 8ee782145cbd9b28a5d12734b50022db2dffd7ce..cb6ed4996638b35899a5f51b0cff48a4f9d17c51 100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-270,7
+270,7
@@
int reload_configuration(void) {
c->outgoing = NULL;
}
- asprintf(&fname, "%s/hosts/%s", confbase, c->name);
+
x
asprintf(&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);