From d59fcda91e72f2adea3dcc025fde0089467a47cd Mon Sep 17 00:00:00 2001 From: rocky Date: Wed, 14 Jul 2004 04:42:11 +0000 Subject: [PATCH] small cleanup changes. --- lib/MSWindows/aspi32.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/MSWindows/aspi32.c b/lib/MSWindows/aspi32.c index 208e44cf..19df663c 100644 --- a/lib/MSWindows/aspi32.c +++ b/lib/MSWindows/aspi32.c @@ -1,5 +1,5 @@ /* - $Id: aspi32.c,v 1.20 2004/07/14 04:34:25 rocky Exp $ + $Id: aspi32.c,v 1.21 2004/07/14 04:42:11 rocky Exp $ Copyright (C) 2004 Rocky Bernstein @@ -27,7 +27,7 @@ # include "config.h" #endif -static const char _rcsid[] = "$Id: aspi32.c,v 1.20 2004/07/14 04:34:25 rocky Exp $"; +static const char _rcsid[] = "$Id: aspi32.c,v 1.21 2004/07/14 04:42:11 rocky Exp $"; #include #include @@ -397,11 +397,10 @@ scsi_mmc_command( const _img_private_t *env, /* Create the transfer completion event */ hEvent = CreateEvent( NULL, TRUE, FALSE, NULL ); if( hEvent == NULL ) { + cdio_info("CreateEvent failed"); return false; } - /* Data selection */ - memset( &ssc, 0, sizeof( ssc ) ); ssc.SRB_Cmd = SC_EXEC_SCSI_CMD; @@ -443,7 +442,7 @@ scsi_mmc_command( const _img_private_t *env, /*! - Reads a single mode2 sector from cd device into data starting from lsn. + Reads nblocks sectors from cd device into data starting from lsn. Returns 0 if no error. */ static int