diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2007-01-31 16:24:52 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2007-01-31 16:24:52 +0000 |
commit | 336f93ec0b7deeef1391729328d3793e9684ccd1 (patch) | |
tree | 7239134b110821c95012bc59f9262cb798d03b92 | |
parent | 3dbe714f610fed13fcdde09f79188a984dff042f (diff) | |
download | libgphoto2-2_3.tar.gz |
the 666 class match code is handled below, and caused bad UDEV ruleslibgphoto2-2_3
with vendor=0 and product=0.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/branches/libgphoto2-2_3/libgphoto2@9960 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r-- | packaging/generic/print-camera-list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/generic/print-camera-list.c b/packaging/generic/print-camera-list.c index d202edece..f35cf9f04 100644 --- a/packaging/generic/print-camera-list.c +++ b/packaging/generic/print-camera-list.c @@ -333,7 +333,7 @@ udev_camera_func (const func_params_t *params, | GP_USB_HOTPLUG_MATCH_PRODUCT_ID); usb_vendor = a->usb_vendor; usb_product = a->usb_product; - } else if ((a->usb_class) && (a->usb_class != 666)) { + } else if (a->usb_class) { class = a->usb_class; subclass = a->usb_subclass; proto = a->usb_protocol; @@ -446,7 +446,7 @@ udev_098_camera_func (const func_params_t *params, | GP_USB_HOTPLUG_MATCH_PRODUCT_ID); usb_vendor = a->usb_vendor; usb_product = a->usb_product; - } else if ((a->usb_class) && (a->usb_class != 666)) { + } else if (a->usb_class) { class = a->usb_class; subclass = a->usb_subclass; proto = a->usb_protocol; |