While trying to test out my other printers I found a problem with the 
printer model check in device.cpp.  The following appeared in my 
syslog when I tried to print to my Deskjet 920C.

Apr  4 19:20:45 bigguy hpiod: invalid model DeskJet_920C != 
DESKJET_920C Device::Open io/hpiod/device.cpp 1139
Apr  4 19:20:45 bigguy DeskJet_920C?serial=MX1CC6F1CHBI: INFO: open 
device failed; will retry in 30 seconds...

I appears that the strcmp check should actually be a strcasecmp so 
that it detects model matches without worrying about case.

-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/

Attachment: pgpuT75nA0oKN.pgp
Description: PGP signature

Reply via email to