summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicesyslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c
index 227bf3d..2adf327 100644
--- a/tools/idevicesyslog.c
+++ b/tools/idevicesyslog.c
@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
while (!quit_flag) {
char c;
uint32_t bytes = 0;
- if ((idevice_connection_receive(conn, &c, 1, &bytes) < 0) || (bytes != 1)) {
+ if (idevice_connection_receive(conn, &c, 1, &bytes) < 0) {
fprintf(stderr, "Error receiving data. Exiting...\n");
break;
}