diff options
Diffstat (limited to 'print/hplip/files/patch-io_hpiod_device.cpp')
-rw-r--r-- | print/hplip/files/patch-io_hpiod_device.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/print/hplip/files/patch-io_hpiod_device.cpp b/print/hplip/files/patch-io_hpiod_device.cpp index 1a9b2ead672d..288b8be0ab04 100644 --- a/print/hplip/files/patch-io_hpiod_device.cpp +++ b/print/hplip/files/patch-io_hpiod_device.cpp @@ -264,13 +264,4 @@ + syslog(LOG_ERR, "danger! Device::ReleaseInterface, releasing an interface with an active write %s: %s %d\n", URI, __FILE__, __LINE__); #else usb_reap_urb_ex(FD[fd].pHD, &FD[fd].urb_write); - #endif -@@ -913,7 +1155,7 @@ - /* Make sure uri model still matches device id model. */ - pSys->GetURIModel(URI, uriModel, sizeof(uriModel)); - pSys->GetModel(ID, model, sizeof(model)); -- if (strcmp(uriModel, model) != 0) -+ if (strcasecmp(uriModel, model) != 0) - { - *result = R_INVALID_DEVICE_NODE; /* found different device plugged in */ - syslog(LOG_ERR, "invalid model %s != %s Device::Open %s %d\n", uriModel, model, __FILE__, __LINE__); + #endif
\ No newline at end of file |