session BUGFIX differentiate between clock types
diff --git a/src/io.c b/src/io.c
index e3a57b0..44589d8 100644
--- a/src/io.c
+++ b/src/io.c
@@ -210,8 +210,8 @@
             if (!interrupted) {
                 usleep(NC_TIMEOUT_STEP);
             }
-            if ((nc_difftimespec_cur(&ts_inact_timeout) < 1) || (nc_difftimespec_cur(ts_act_timeout) < 1)) {
-                if (nc_difftimespec_cur(&ts_inact_timeout) < 1) {
+            if ((nc_difftimespec_mono_cur(&ts_inact_timeout) < 1) || (nc_difftimespec_mono_cur(ts_act_timeout) < 1)) {
+                if (nc_difftimespec_mono_cur(&ts_inact_timeout) < 1) {
                     ERR(session, "Inactive read timeout elapsed.");
                 } else {
                     ERR(session, "Active read timeout elapsed.");