diff options
Diffstat (limited to 'src/usbmux.c')
| -rw-r--r-- | src/usbmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usbmux.c b/src/usbmux.c index a695f27..37538da 100644 --- a/src/usbmux.c +++ b/src/usbmux.c | |||
| @@ -854,7 +854,7 @@ int usbmux_send(usbmux_client_t client, const char *data, uint32_t datalen, | |||
| 854 | int cutoff = 28; | 854 | int cutoff = 28; |
| 855 | // HACK: we need to split up the packet because of an unresolved | 855 | // HACK: we need to split up the packet because of an unresolved |
| 856 | // usb communication issue aka 'N*128 problem' or 'N*512 problem' | 856 | // usb communication issue aka 'N*128 problem' or 'N*512 problem' |
| 857 | log_debug_msg("%s: HACK: splitting packet, two send_to_device calls will follow\n", __func__); | 857 | log_debug_msg("%s: HACK: splitting packet, two send_to_device calls will follow\n"); |
| 858 | packetsize = blocksize - cutoff; | 858 | packetsize = blocksize - cutoff; |
| 859 | curlen = datalen - cutoff; | 859 | curlen = datalen - cutoff; |
| 860 | client->header->length = packetsize; | 860 | client->header->length = packetsize; |
