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

SBUS: do not try to del non existing sender #5454

Closed
wants to merge 1 commit into from

Conversation

alexey-tikhonov
Copy link
Member

Resolves: #5425


sss_ptr_hash_delete(table, name, true);
if (hash_has_key(table, &table_key)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can use sss_ptr_hash_has_key instead to avoid created the key yourself?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the hint. I somehow overlooked this helper.
Updated.

@pbrezina
Copy link
Member

Pushed PR: #5454

  • master
    • bdf461c - SBUS: do not try to del non existing sender

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

Successfully merging this pull request may close these issues.

SBUS: failures during servers startup
2 participants