projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some fixes, check README
[lcr.git]
/
mISDN.cpp
diff --git
a/mISDN.cpp
b/mISDN.cpp
index
7a95c9f
..
3c4c23d
100644
(file)
--- a/
mISDN.cpp
+++ b/
mISDN.cpp
@@
-1382,7
+1382,9
@@
int PmISDN::handler(void)
p_m_load = 0;
/* to send data, tone must be active OR crypt messages must be on */
p_m_load = 0;
/* to send data, tone must be active OR crypt messages must be on */
- if ((p_tone_name[0] || p_m_crypt_msg_loops) && p_m_load < ISDN_LOAD)
+ if ((p_tone_name[0] || p_m_crypt_msg_loops)
+ && (p_m_load < ISDN_LOAD)
+ && (p_state==PORT_STATE_CONNECT || p_m_mISDNport->tones))
{
int tosend = ISDN_LOAD - p_m_load, length;
#ifdef SOCKET_MISDN
{
int tosend = ISDN_LOAD - p_m_load, length;
#ifdef SOCKET_MISDN