From: hadaq Date: Mon, 21 Nov 2011 18:48:42 +0000 (+0000) Subject: small change to recursive mode with sleep, Jan X-Git-Tag: v6.0~99 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=cbb1b3df5f24b1539873d2c88fa14a4f2e14f22b;p=trbnettools.git small change to recursive mode with sleep, Jan --- diff --git a/libtrbnet/trbcmd.c b/libtrbnet/trbcmd.c index c70070e..2574030 100644 --- a/libtrbnet/trbcmd.c +++ b/libtrbnet/trbcmd.c @@ -25,7 +25,7 @@ static int hexMode = HEXMODE; -static const char trbcmd_version[] = "$Revision: 2.72 $"; +static const char trbcmd_version[] = "$Revision: 2.73 $"; #define BACKLOG 10 static uint16_t tcp_port = 55555; @@ -1269,6 +1269,7 @@ int start(int argc, char **argv) if (sleepTime > 0) { printf("---\n"); + fflush(stdout); usleep(sleepTime); } } /* End repeat-loop */