commit | 145619f9503355001e11bcbca61d8516a1721791 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Feb 16 10:08:45 2018 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Feb 16 10:08:45 2018 +0100 |
tree | 72603c169ee223659d02c0ce13ff987e45bcad41 | |
parent | 63b52fc38265205fb4280e8a96f7ede196353b3f [diff] |
session BUGFIX update function name
diff --git a/src/session.c b/src/session.c index bb70b30..5047c87 100644 --- a/src/session.c +++ b/src/session.c
@@ -121,7 +121,7 @@ /* Try to acquire the lock and, if we fail, sleep for 5ms. */ while ((rc = pthread_mutex_trylock(mutex)) == EBUSY) { - nc_gettimespec(&cur); + nc_gettimespec_real(&cur); if ((diff = nc_difftimespec(&cur, abstime)) < 1) { /* timeout */