Fix TMXR line transmit buffer allocation to always be allocated if a listening socket is open

This commit is contained in:
Mark Pizzolato 2013-06-24 10:58:28 -07:00
parent 9f430923c4
commit 5a21db5df6

View file

@ -447,8 +447,8 @@ if (lp->modem_control) {
if ((!lp->mp->buffered) && (!lp->txbfd)) {
lp->txbfd = 0;
lp->txbsz = TMXR_MAXBUF;
lp->txb = (char *)realloc (lp->txb, lp->txbsz);
}
lp->txb = (char *)realloc (lp->txb, lp->txbsz);
return;
}