- don't send faxdata if NCCI is zero.

This commit is contained in:
MelwareDE 2007-03-15 10:16:41 +00:00
parent ebc059c0fc
commit 8c812cee0c
1 changed files with 6 additions and 0 deletions

View File

@ -3462,6 +3462,12 @@ static void capidev_send_faxdata(struct capi_pvt *i)
size_t len;
_cmsg CMSG;
if (i->NCCI == 0) {
cc_verbose(3, 0, VERBOSE_PREFIX_3 "%s: send_faxdata on NCCI = 0.\n",
i->vname);
return;
}
if (i->state == CAPI_STATE_DISCONNECTING) {
cc_verbose(3, 1, VERBOSE_PREFIX_3 "%s: send_faxdata in DISCONNECTING.\n",
i->vname);