diff options
author | Nikias Bassen | 2012-01-11 23:58:18 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-01-11 23:58:18 +0100 |
commit | be74df913206d354988db302eb049ed1e40a4a43 (patch) | |
tree | fa1e61d69ed7ce58a0eac3ba05d1a128d2775a77 /tools | |
parent | f6555734bf8a28ce9663d87320a1eff61710d7a4 (diff) | |
download | libimobiledevice-be74df913206d354988db302eb049ed1e40a4a43.tar.gz libimobiledevice-be74df913206d354988db302eb049ed1e40a4a43.tar.bz2 |
idevicesyslog: use fflush to immediately write out buffer
Diffstat (limited to 'tools')
-rw-r--r-- | tools/idevicesyslog.c | 1 |
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); |