On Thu, Apr 24, 2014 at 4:50 PM, Jonathon Jongsma <jjongsma@xxxxxxxxxx> wrote:
I have no experience with usbclerk, but reading the code, it seems that reply.status is set to a boolean value[1], with true meaning success. So the status!=0 below appears to be backward. Or am I reading it wrong?
oops my bad, it should be:
if (!priv->reply.status)
if (!priv->reply.status)
same as currently in gtk/usb-device-manager.c:
if (!status) {
g_warning("failed to %s win usb driver (status=0)", opstr);
}
g_warning("failed to %s win usb driver (status=0)", opstr);
}
--
Marc-André Lureau
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel