diff options
author | David Wang | 2018-11-19 00:50:05 -0800 |
---|---|---|
committer | Nikias Bassen | 2020-02-18 00:34:45 +0100 |
commit | 513950377df9cb93747ac69dae4ab55dded3ac5c (patch) | |
tree | 6e113bd43c5e2aea2ef7728626284e336af50886 /src/fdr.c | |
parent | ce663f79d1d58f5ce6809a24bbb1e92a800d7ff8 (diff) | |
download | idevicerestore-513950377df9cb93747ac69dae4ab55dded3ac5c.tar.gz idevicerestore-513950377df9cb93747ac69dae4ab55dded3ac5c.tar.bz2 |
Allow remote side to terminate FDR connections rather than doing it ourselves.
Diffstat (limited to 'src/fdr.c')
-rw-r--r-- | src/fdr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -480,7 +480,8 @@ static int fdr_handle_plist_cmd(fdr_client_t fdr) } free(command); - return 1; /* should terminate thread */ + /* FDR connection will be terminated remotely. Next receive will get nothing, error and terminate this worker thread. */ + return 0; } static int fdr_handle_proxy_cmd(fdr_client_t fdr) |