diff options
Diffstat (limited to 'tools/idevicesyslog.c')
| -rw-r--r-- | tools/idevicesyslog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index 30e0c55..05e614f 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c | |||
| @@ -24,7 +24,6 @@ | |||
| 24 | #include <errno.h> | 24 | #include <errno.h> |
| 25 | #include <signal.h> | 25 | #include <signal.h> |
| 26 | #include <stdlib.h> | 26 | #include <stdlib.h> |
| 27 | #include <glib.h> | ||
| 28 | 27 | ||
| 29 | #include <libimobiledevice/libimobiledevice.h> | 28 | #include <libimobiledevice/libimobiledevice.h> |
| 30 | #include <libimobiledevice/lockdown.h> | 29 | #include <libimobiledevice/lockdown.h> |
| @@ -123,7 +122,7 @@ int main(int argc, char *argv[]) | |||
| 123 | break; | 122 | break; |
| 124 | } | 123 | } |
| 125 | 124 | ||
| 126 | datalen = GUINT32_FROM_BE(datalen); | 125 | datalen = be32toh(datalen); |
| 127 | 126 | ||
| 128 | if (datalen == 0) | 127 | if (datalen == 0) |
| 129 | continue; | 128 | continue; |
