[update] fix daytimetcpsrv2.c compile warning
[update] fix compile warning and unexpected result