TMXR: Allow tmxr_init_line() to be called even if not attached (Dave Bryan)
This commit is contained in:
parent
f89a65ff2f
commit
2bf523dea0
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ if (!lp->txbfd || lp->notelnet) /* if not buffered telne
|
|||
lp->txbpr = lp->txbpi = lp->txcnt = lp->txpcnt = 0; /* init transmit indexes */
|
||||
lp->txdrp = lp->txstall = 0;
|
||||
tmxr_set_get_modem_bits (lp, 0, 0, NULL);
|
||||
if ((!lp->mp->buffered) && (!lp->txbfd)) {
|
||||
if (lp->mp && (!lp->mp->buffered) && (!lp->txbfd)) {
|
||||
lp->txbfd = 0;
|
||||
lp->txbsz = TMXR_MAXBUF;
|
||||
lp->txb = (char *)realloc (lp->txb, lp->txbsz);
|
||||
|
|
Loading…
Add table
Reference in a new issue