From 5a21db5df6e97f384ccf70e50bbcbf8d977bd0aa Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 24 Jun 2013 10:58:28 -0700 Subject: [PATCH] Fix TMXR line transmit buffer allocation to always be allocated if a listening socket is open --- sim_tmxr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }