diff options
author | Nikias Bassen | 2019-06-25 13:50:48 +0200 |
---|---|---|
committer | Nikias Bassen | 2019-06-25 13:50:48 +0200 |
commit | 0be1f2f64c5fc05cb9b6843b13c61193eec8e5b3 (patch) | |
tree | 0fafd27506d7a743b3d99a900663e141902dcb81 /src | |
parent | 7cb1bdf78ce8963da2923d6098645cb648e30259 (diff) | |
download | idevicerestore-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |