Searched refs:zeroresult (Results 1 – 1 of 1) sorted by relevance
/external/libmtp/src/ |
D | libusb-glue.c | 917 int zeroresult = 0; in ptp_read_func() local 923 zeroresult = USB_BULK_READ(ptp_usb->handle, ptp_usb->inep, &temp, 0, ptp_usb->timeout); in ptp_read_func() 924 if (zeroresult != 0) in ptp_read_func() 925 printf("LIBMTP panic: unable to read in zero packet, response 0x%04x", zeroresult); in ptp_read_func() 1399 int zeroresult = 0; in ptp_usb_getdata() local 1405 … zeroresult = USB_BULK_READ(ptp_usb->handle, ptp_usb->inep, &zerobyte, 0, ptp_usb->timeout); in ptp_usb_getdata() 1407 if (zeroresult != 0) in ptp_usb_getdata() 1408 printf("LIBMTP panic: unable to read in zero packet, response 0x%04x", zeroresult); in ptp_usb_getdata()
|