Fix TMXR line transmit buffer allocation to always be allocated if a listening socket is open
This commit is contained in:
parent
9f430923c4
commit
5a21db5df6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue