kopia lustrzana https://gitlab.com/sane-project/backends
Fix missing check in genesys for raw debug data
Patch by Tollef Fog Heen <tfheen@err.no>merge-requests/1/head
rodzic
3c0b4649bd
commit
561a2c8fe2
|
@ -1,3 +1,7 @@
|
|||
2009-09-26 Julien Blache <jb@jblache.org>
|
||||
* backend/genesys.c: add missing check when logging raw data,
|
||||
patch by Tollef Fog Heen <tfheen@err.no>.
|
||||
|
||||
2009-09-16 Nicolas Martin <nicols-guest at users.alioth.debian.org>
|
||||
* backend/pixma_mp150.c, doc/descriptions/pixma.desc,
|
||||
doc/sane-pixma.man:
|
||||
|
|
|
@ -4434,8 +4434,11 @@ genesys_read_ordered_data (Genesys_Device * dev, SANE_Byte * destination,
|
|||
"genesys_read_ordered_data: nothing more to scan: EOF\n");
|
||||
*len = 0;
|
||||
#ifdef SANE_DEBUG_LOG_RAW_DATA
|
||||
fclose (rawfile);
|
||||
rawfile = NULL;
|
||||
if (rawfile != NULL)
|
||||
{
|
||||
fclose (rawfile);
|
||||
rawfile = NULL;
|
||||
}
|
||||
#endif
|
||||
return SANE_STATUS_EOF;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue