Skip to content

Remove global pointer to mdns instance#130

Open
Momomentum wants to merge 1 commit intodavidmoreno:masterfrom
Momomentum:remove-mdns-current-hack
Open

Remove global pointer to mdns instance#130
Momomentum wants to merge 1 commit intodavidmoreno:masterfrom
Momomentum:remove-mdns-current-hack

Conversation

@Momomentum
Copy link
Contributor

Rather than saving a pointer to current mdns instance, pass it through the callback functions and save it in the userdata pointers.

Rather than saving a pointer to current mdns instance, pass it through
the callback functions and save it in the userdata pointers.
@Momomentum Momomentum force-pushed the remove-mdns-current-hack branch from 665d477 to 754d44f Compare October 14, 2024 17:31
@Momomentum
Copy link
Contributor Author

@davidmoreno what do you think?

@davidmoreno
Copy link
Owner

Hey, thanks!

The global was for some weird pointers I was getting long time ago, so I wanted to be sure to use the proper struct. It was before I restructured the mdns code.

I will have a better look now, but if it gives no problem, looks perfect for me.

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