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>
|
2009-09-16 Nicolas Martin <nicols-guest at users.alioth.debian.org>
|
||||||
* backend/pixma_mp150.c, doc/descriptions/pixma.desc,
|
* backend/pixma_mp150.c, doc/descriptions/pixma.desc,
|
||||||
doc/sane-pixma.man:
|
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");
|
"genesys_read_ordered_data: nothing more to scan: EOF\n");
|
||||||
*len = 0;
|
*len = 0;
|
||||||
#ifdef SANE_DEBUG_LOG_RAW_DATA
|
#ifdef SANE_DEBUG_LOG_RAW_DATA
|
||||||
fclose (rawfile);
|
if (rawfile != NULL)
|
||||||
rawfile = NULL;
|
{
|
||||||
|
fclose (rawfile);
|
||||||
|
rawfile = NULL;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
return SANE_STATUS_EOF;
|
return SANE_STATUS_EOF;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue