From dbbf60949b52be9d720de1ba3892d2f2072954a7 Mon Sep 17 00:00:00 2001 From: Gerhard Jaeger Date: Sun, 31 Oct 2004 12:10:53 +0000 Subject: [PATCH] Additional debug output. --- backend/plustek.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/plustek.c b/backend/plustek.c index 1378766aa..38c0e8c32 100644 --- a/backend/plustek.c +++ b/backend/plustek.c @@ -2241,9 +2241,11 @@ sane_start( SANE_Handle handle ) return SANE_STATUS_IO_ERROR; } - DBG( _DBG_SANE_INIT, "dwflag = 0x%lx dwBytesPerLine = %ld \n", + DBG( _DBG_SANE_INIT, "dwflag = 0x%lx dwBytesLine = %ld \n", dev->scanning.dwFlag, dev->scanning.dwBytesLine ); - + DBG( _DBG_SANE_INIT, "Lines = %d\n", s->params.lines); + DBG( _DBG_SANE_INIT, "Bytes per Line = %d\n", s->params.bytes_per_line ); + DBG( _DBG_SANE_INIT, "Bitdepth = %d\n", s->params.depth ); s->buf = realloc( s->buf, (s->params.lines) * s->params.bytes_per_line ); if( NULL == s->buf ) { DBG( _DBG_ERROR, "realloc failed\n" );