From 9fdd8a8706c3e588ca392f66614a78dc93ed6d96 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 2 Sep 2015 16:49:47 -0700 Subject: [PATCH] TMXR: Fix debug output of remaining data after removing telnet negotiation from the input buffer --- sim_tmxr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_tmxr.c b/sim_tmxr.c index 4e39c094..428e32f1 100644 --- a/sim_tmxr.c +++ b/sim_tmxr.c @@ -1862,7 +1862,7 @@ for (i = 0; i < mp->lines; i++) { /* loop thru lines */ } /* end case state */ } /* end for char */ if (nbytes != (lp->rxbpi-lp->rxbpr)) { - tmxr_debug (TMXR_DBG_RCV, lp, "Remaining", &(lp->rxb[lp->rxbpi]), lp->rxbpi-lp->rxbpr); + tmxr_debug (TMXR_DBG_RCV, lp, "Remaining", &(lp->rxb[lp->rxbpr]), lp->rxbpi-lp->rxbpr); } } } /* end else nbytes */