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
Different sizeof(struct mosquitto) in Broker #180
Comments
Yes, that is as expected. struct mosquitto is a private type, you shouldn't be worrying about its size. The struct mosquitto in src/read_handle.c is as used by the broker. The broker and client library have different requirements, so the struct changes. What is it you're trying to achieve? |
The sizeof(struct mosquitto) 448 and 456 was printed by the same broker.
Because struct mosquitto is different size between src/ and lib/ in the same broker!! |
Ensures that LWS_LIBRARY_VERSION_NUMBER is always present in all source files when it is defined. Thanks to dennisip86. Bug: #180
Thanks, I thought you were worried about the difference between the client and broker struct instead. This is now fixed. |
I got 448 and 456
The text was updated successfully, but these errors were encountered: