summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-01-11 23:58:18 +0100
committerGravatar Nikias Bassen2012-01-11 23:58:18 +0100
commitbe74df913206d354988db302eb049ed1e40a4a43 (patch)
treefa1e61d69ed7ce58a0eac3ba05d1a128d2775a77 /tools
parentf6555734bf8a28ce9663d87320a1eff61710d7a4 (diff)
downloadlibimobiledevice-be74df913206d354988db302eb049ed1e40a4a43.tar.gz
libimobiledevice-be74df913206d354988db302eb049ed1e40a4a43.tar.bz2
idevicesyslog: use fflush to immediately write out buffer
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicesyslog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c
index f2b3a2f..30e0c55 100644
--- a/tools/idevicesyslog.c
+++ b/tools/idevicesyslog.c
@@ -140,6 +140,7 @@ int main(int argc, char *argv[])
recv_bytes += bytes;
fwrite(receive, sizeof(char), bytes, stdout);
+ fflush(stdout);
}
free(receive);