Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added command result types and error handling. #39

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bveldhoen
Copy link
Contributor

The new result types are used for processing the sentinel commands (such as sentinel masters, sentinel slaves). Unit tests for these new types were added too.
Added error handling and nullptr checks for the reply.

Without this fix, a segv will happen in certain error conditions where
the reply_obj == nullptr.
@hmartiro
Copy link
Owner

Hi, could you upload a new change (perhaps revert the rpm name commit) so that travis can run on this PR?

@hmartiro
Copy link
Owner

hmartiro commented Dec 5, 2016

Hi, please see my note in the README if you are interested. Thanks!
https://github.com/hmartiro/redox#redox

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

Successfully merging this pull request may close these issues.

2 participants