kopia lustrzana https://gitlab.com/sane-project/backends
genesys: Remove logging of the build number
A git commit would be much more useful in log messagesmerge-requests/67/head
rodzic
e13b80fa6f
commit
873e82c0a0
|
@ -58,7 +58,6 @@
|
||||||
* SANE backend for Genesys Logic GL646/GL841/GL842/GL843/GL846/GL847/GL124 based scanners
|
* SANE backend for Genesys Logic GL646/GL841/GL842/GL843/GL846/GL847/GL124 based scanners
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define BUILD 2511
|
|
||||||
#define BACKEND_NAME genesys
|
#define BACKEND_NAME genesys
|
||||||
|
|
||||||
#include "genesys.h"
|
#include "genesys.h"
|
||||||
|
@ -6450,8 +6449,8 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
|
||||||
SANE_Status status;
|
SANE_Status status;
|
||||||
|
|
||||||
DBG_INIT ();
|
DBG_INIT ();
|
||||||
DBG(DBG_init, "SANE Genesys backend version %d.%d build %d from %s\n",
|
DBG(DBG_init, "SANE Genesys backend version %d.%d from %s\n",
|
||||||
SANE_CURRENT_MAJOR, V_MINOR, BUILD, PACKAGE_STRING);
|
SANE_CURRENT_MAJOR, V_MINOR, PACKAGE_STRING);
|
||||||
#ifdef HAVE_LIBUSB
|
#ifdef HAVE_LIBUSB
|
||||||
DBG(DBG_init, "SANE Genesys backend built with libusb-1.0\n");
|
DBG(DBG_init, "SANE Genesys backend built with libusb-1.0\n");
|
||||||
#endif
|
#endif
|
||||||
|
@ -6460,7 +6459,7 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (version_code)
|
if (version_code)
|
||||||
*version_code = SANE_VERSION_CODE (SANE_CURRENT_MAJOR, V_MINOR, BUILD);
|
*version_code = SANE_VERSION_CODE (SANE_CURRENT_MAJOR, V_MINOR, 0);
|
||||||
|
|
||||||
DBG(DBG_proc, "%s: authorize %s null\n", __func__, authorize ? "!=" : "==");
|
DBG(DBG_proc, "%s: authorize %s null\n", __func__, authorize ? "!=" : "==");
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue