1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-13 23:37:13 +00:00

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;
}