Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

cmd_handler: check error before checking the result of length #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

cmd_handler: check error before checking the result of length #10

wants to merge 1 commit into from

Conversation

nak3
Copy link
Contributor

@nak3 nak3 commented Dec 5, 2016

cmd_handler: check error before checking the result of length

This patch swaps the order of error check and write/read result check.

Fixes #9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant