projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid calling time(NULL).
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
0d374e6
..
1487e81
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-406,7
+406,7
@@
int reload_configuration(void) {
free(fname);
}
free(fname);
}
- last_config_check =
time(NULL)
;
+ last_config_check =
now.tv_sec
;
return 0;
}
return 0;
}