summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-06-25 13:50:48 +0200
committerGravatar Nikias Bassen2019-06-25 13:50:48 +0200
commit0be1f2f64c5fc05cb9b6843b13c61193eec8e5b3 (patch)
tree0fafd27506d7a743b3d99a900663e141902dcb81 /src
parent7cb1bdf78ce8963da2923d6098645cb648e30259 (diff)
downloadidevicerestore-0be1f2f64c5fc05cb9b6843b13c61193eec8e5b3.tar.gz
idevicerestore-0be1f2f64c5fc05cb9b6843b13c61193eec8e5b3.tar.bz2
fdr: Fix typo in error type that lead to compile errors with older libimobiledevice
Diffstat (limited to 'src')
-rw-r--r--src/fdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fdr.c b/src/fdr.c
index 68b9aed..dcee367 100644
--- a/src/fdr.c
+++ b/src/fdr.c
@@ -146,7 +146,7 @@ int fdr_poll_and_handle_message(fdr_client_t fdr)
#ifdef HAVE_IDEVICE_E_TIMEOUT
if (device_error == IDEVICE_E_TIMEOUT || (device_error == IDEVICE_E_SUCCESS && bytes != sizeof(cmd)))
#else
- if (device_error == IDEVICE_ESUCCESS && bytes != sizeof(cmd))
+ if (device_error == IDEVICE_E_SUCCESS && bytes != sizeof(cmd))
#endif
{
debug("FDR %p timeout waiting for command\n", fdr);