-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
update mqttClient to catch empty clientNames #2897
Conversation
…ientName that would otherwise lead to a failing malloc
PR Summary
|
@pljakobs make sure to fix the coding style. |
when I run "make cs" in $SMING_HOME, I get a huge changeset with all sorts of files that I didn't touch but my four lines look unchanged - I think the way cs is set up right now, it wants to change the tab size across the whole project. I would rather not submit that large a change.
If I use eight character indents on those four lines alone they stick out like a sore thumb. for completeness: this is the beginning of the full
the changes seem all to be coding style related. |
Needs to be |
It's also a good idea to create a new branch for PR's (i.e. don't use develop directly). See https://sming.readthedocs.io/en/latest/_inc/CONTRIBUTING.html |
that's a lot more more than 8 than I would have guessed - am I missing something?
I know, and usually I try to. |
The issues with differing versions of clang-format is a widely discussed issue. You can find a standalone version here https://github.com/muttleyxd/clang-tools-static-binaries |
|
~~really? it would have been that easy? :o ~~
I misread this, I thought it was a format modifier, but this just sets the static clang-format executable. |
catch situations where mqttClient::connect is called with an empty clientName that would otherwise lead to a failing malloc