summaryrefslogtreecommitdiffstats
path: root/src/fdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fdr.c')
-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);