Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only process commands if there's data read.
Don't use leftover command data. The cmd_read value is always correct, so check that cmd_read is nonzero before using data in the cmd buf.
- Loading branch information