projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CI: don't fail on chown error
[tinc]
/
src
/
upnp.c
diff --git
a/src/upnp.c
b/src/upnp.c
index
eb68998
..
8223b2d
100644
(file)
--- a/
src/upnp.c
+++ b/
src/upnp.c
@@
-159,9
+159,7
@@
static void *upnp_thread(void *data) {
time_t now = time(NULL);
if(now < refresh_time) {
- nanosleep(&(struct timespec) {
- refresh_time - now, 0
- }, NULL);
+ sleep_millis((refresh_time - now) * 1000);
}
}