Improved some FIFOSD checks in char_parse.

Signed-off-by: Haru <haru@dotalux.com>