summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-01-11 23:58:18 +0100
committerGravatar Martin Szulecki2012-03-22 18:51:48 +0100
commitaf0765f2fdb266f3bc08e2adf639b24aec8dee4b (patch)
tree65c0181ff3f98d2a2ade70cf8f6bc234f664aa8c
parent3349235c49ad96bfe16dd9567ce0f50203f7a0c3 (diff)
downloadlibimobiledevice-af0765f2fdb266f3bc08e2adf639b24aec8dee4b.tar.gz
libimobiledevice-af0765f2fdb266f3bc08e2adf639b24aec8dee4b.tar.bz2
idevicesyslog: use fflush to immediately write out buffer
-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);