Fix to main.c for flushing
2 files changed