diff options
| author | 2009-01-08 18:51:42 +0100 | |
|---|---|---|
| committer | 2009-01-08 18:51:42 +0100 | |
| commit | f53b61c82be8aa6223ab6a524c2287d892f9864c (patch) | |
| tree | 99f67152a644ded15d0bd7cd16664c4eb1eb7c00 /src/usbmux.c | |
| parent | 5514a3b2a9734d311e4f6014585f922e0b748cab (diff) | |
| parent | ef98ef7211bc6277e9a87349f0405957ab264936 (diff) | |
| download | libimobiledevice-f53b61c82be8aa6223ab6a524c2287d892f9864c.tar.gz libimobiledevice-f53b61c82be8aa6223ab6a524c2287d892f9864c.tar.bz2 | |
Merge branch 'nikias' into plist
Conflicts:
src/lockdown.c
Diffstat (limited to 'src/usbmux.c')
| -rw-r--r-- | src/usbmux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usbmux.c b/src/usbmux.c index 427b880..eb7ec97 100644 --- a/src/usbmux.c +++ b/src/usbmux.c | |||
| @@ -182,8 +182,11 @@ iphone_error_t iphone_mux_free_client(iphone_umux_client_t client) | |||
| 182 | return IPHONE_E_INVALID_ARG; | 182 | return IPHONE_E_INVALID_ARG; |
| 183 | 183 | ||
| 184 | client->header->tcp_flags = 0x04; | 184 | client->header->tcp_flags = 0x04; |
| 185 | client->header->length = htonl(0x1C); | ||
| 185 | client->header->scnt = htonl(client->header->scnt); | 186 | client->header->scnt = htonl(client->header->scnt); |
| 186 | client->header->ocnt = htonl(client->header->ocnt); | 187 | client->header->ocnt = htonl(client->header->ocnt); |
| 188 | client->header->window = 0; | ||
| 189 | client->header->length16 = htons(0x1C); | ||
| 187 | int bytes = 0; | 190 | int bytes = 0; |
| 188 | 191 | ||
| 189 | bytes = usb_bulk_write(client->phone->device, BULKOUT, (char *) client->header, sizeof(usbmux_tcp_header), 800); | 192 | bytes = usb_bulk_write(client->phone->device, BULKOUT, (char *) client->header, sizeof(usbmux_tcp_header), 800); |
