log1.c problem 1 fixed.
log1.c promblem fix by add: end