diff options
| -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 927928e..d7f0710 100644 --- a/src/usbmux.c +++ b/src/usbmux.c | |||
| @@ -771,7 +771,7 @@ int usbmux_free_client(usbmux_client_t client) | |||
| 771 | int err = 0; | 771 | int err = 0; |
| 772 | int result = 0; | 772 | int result = 0; |
| 773 | pthread_mutex_lock(&client->mutex); | 773 | pthread_mutex_lock(&client->mutex); |
| 774 | client->header->tcp_flags = TCP_FIN; | 774 | client->header->tcp_flags = TCP_RST; |
| 775 | client->header->length = 0x1C; | 775 | client->header->length = 0x1C; |
| 776 | client->header->window = 0; | 776 | client->header->window = 0; |
| 777 | client->header->length16 = 0x1C; | 777 | client->header->length16 = 0x1C; |
