removed again that old fgets() call - sorry...

DEVEL_2_0_BRANCH-1
Gerhard Jaeger 2001-04-19 10:45:15 +00:00
rodzic 7dac4b26f2
commit 73bfb2d153
1 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -790,11 +790,7 @@ SANE_Status sane_init( SANE_Int *version_code, SANE_Auth_Callback authorize )
return attach("/dev/pt_drv", 0);
}
#if V_REV >= 3
while (sanei_config_read( dev_name, sizeof(dev_name), fp)) {
#else
while (fgets(dev_name, sizeof(dev_name), fp)) {
#endif
DBG( _DBG_SANE_INIT, "sane_init, >%s<\n", dev_name);
if( dev_name[0] == '#') /* ignore line comments */