CHANGE lock dbg messages flood output
Only those in session timeout checking were removed.
diff --git a/src/netopeerguid.c b/src/netopeerguid.c
index 8c8ffdc..bc99bad 100644
--- a/src/netopeerguid.c
+++ b/src/netopeerguid.c
@@ -3559,7 +3559,7 @@
int ret;
/* get exclusive access to sessions_list (conns) */
- DEBUG("LOCK wrlock %s", __func__);
+ //DEBUG("LOCK wrlock %s", __func__);
if ((ret = pthread_rwlock_wrlock(&session_lock)) != 0) {
DEBUG("Error while locking rwlock: %d (%s)", ret, strerror(ret));
return;
@@ -3576,7 +3576,7 @@
close_and_free_session(locked_session);
}
}
- DEBUG("UNLOCK wrlock %s", __func__);
+ //DEBUG("UNLOCK wrlock %s", __func__);
if (pthread_rwlock_unlock(&session_lock) != 0) {
ERROR("Error while unlocking rwlock: %d (%s)", errno, strerror(errno));
}