fflush added in log.c. Makefile of toy-ftp updated