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

Only call the delegate with userBuf if it is not nil #57

Merged
merged 1 commit into from
Dec 5, 2015

Conversation

jacksontj
Copy link
Contributor

Without this check if a pushPullMsg is sent with a UserStateLen of 0, userBuf is nill and passed to the delegates.

Issue over in serf: hashicorp/serf#339

Without this check if a pushPullMsg is sent with a UserStateLen of 0, userBuf is nill and passed to the delegates.

Issue over in serf: hashicorp/serf#339
@slackpad
Copy link
Contributor

slackpad commented Dec 5, 2015

This looks good - thanks!

slackpad added a commit that referenced this pull request Dec 5, 2015
Only call the delegate with userBuf if it is not nil
@slackpad slackpad merged commit e64cd14 into hashicorp:master Dec 5, 2015
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