diff --git a/sim_tmxr.c b/sim_tmxr.c index d9062879..d0c6b717 100644 --- a/sim_tmxr.c +++ b/sim_tmxr.c @@ -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; }