From 0983c94a430c28f54193dee78e1aa0ba3fc2e6d5 Mon Sep 17 00:00:00 2001 From: Ullrich Sigwanz Date: Sat, 16 Oct 2004 14:42:39 +0000 Subject: [PATCH] updated debug info --- ChangeLog | 1 + backend/niash_core.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6accc6258..7030d9b96 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ 2004-10-17 Ullrich Sigwanz * backend/niash_core.c: rewrote buffer portioning + * backend/niash_core.c (2): updated debug info * backend/niash.c: Enabling support of full DIN A4 size 2004-10-16 Oliver Rauch diff --git a/backend/niash_core.c b/backend/niash_core.c index 26433982d..46deb3297 100644 --- a/backend/niash_core.c +++ b/backend/niash_core.c @@ -746,7 +746,7 @@ XferBufferGetLine (int iHandle, TDataPipe * p, unsigned char *pabLine, { iLines = p->iLinesLeft; DBG (DBG_MSG, "\n"); - if (p->iLinesLeft < iLines) + if (iLines < p->iLinesPerXferBuf) { DBG (DBG_MSG, "reading reduced number of lines: %d instead of %d\n",