diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2013-01-13 18:33:02 +0100 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2013-01-13 18:33:02 +0100 |
commit | 585c98611c16d0a08ab6d864f5ce13829c31df31 (patch) | |
tree | 76650bc9d840e7f82545da98fd4a57ef8f379849 | |
parent | dcb176155767156662c1177592016508376dadcd (diff) | |
download | MAC-Telnet-585c98611c16d0a08ab6d864f5ce13829c31df31.tar.gz MAC-Telnet-585c98611c16d0a08ab6d864f5ce13829c31df31.zip |
Added explicit flush in batch mode.
-rw-r--r-- | mndp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -143,6 +143,7 @@ int mndp(int timeout, int batch_mode) { printf("'%s','%s','%s',", packet->platform, packet->version, packet->hardware); printf("'%d','%s','%s'", packet->uptime, packet->softid, packet->ifname); putchar('\n'); + fflush(stdout); } } |