Module: kamailio
Branch: master
Commit: efe9d554a912edb0ffc5ae8e7176adc5bcc44a5e
URL:
https://github.com/kamailio/kamailio/commit/efe9d554a912edb0ffc5ae8e7176adc…
Author: Alex Hermann <alex(a)speakup.nl>
Committer: Alex Hermann <alex(a)hexla.nl>
Date: 2017-09-22T11:56:54+02:00
cfgutils: Remove debug statements in sleep functions
Too much noise when debug logging is on
---
Modified: src/modules/cfgutils/cfgutils.c
---
Diff:
https://github.com/kamailio/kamailio/commit/efe9d554a912edb0ffc5ae8e7176adc…
Patch:
https://github.com/kamailio/kamailio/commit/efe9d554a912edb0ffc5ae8e7176adc…
---
diff --git a/src/modules/cfgutils/cfgutils.c b/src/modules/cfgutils/cfgutils.c
index c2fc404c56..4a3e001e6e 100644
--- a/src/modules/cfgutils/cfgutils.c
+++ b/src/modules/cfgutils/cfgutils.c
@@ -622,7 +622,6 @@ static int m_sleep(struct sip_msg *msg, char *time, char *str2)
LM_ERR("cannot get time interval value\n");
return -1;
}
- LM_DBG("sleep %lu seconds\n", (unsigned long)s);
sleep((unsigned int)s);
return 1;
}
@@ -635,7 +634,6 @@ static int m_usleep(struct sip_msg *msg, char *time, char *str2)
LM_ERR("cannot get time interval value\n");
return -1;
}
- LM_DBG("sleep %lu microseconds\n", (unsigned long)time);
sleep_us((unsigned int)s);
return 1;
}