aseqdump: flush output

Flush the output after all currently available events have been printed
to allow filtering interactive output through a pipe.
This commit is contained in:
Clemens Ladisch 2008-02-21 09:12:53 +01:00
parent 23f3e570cc
commit 8e2046bed5

View file

@ -428,6 +428,7 @@ int main(int argc, char *argv[])
if (event)
dump_event(event);
} while (err > 0);
fflush(stdout);
if (stop)
break;
}