Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upmosquitto_pub -l sends null messages on empty line #1474
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
My feeling with this is that sending an empty message is the correct thing to do, so the man page should be updated. Would you agree? |
This comment has been minimized.
This comment has been minimized.
In my opinion sending null is better than silently dropping empty message. So, man page update should be enough to fix this. |
ralight
added a commit
that referenced
this issue
Nov 7, 2019
This comment has been minimized.
This comment has been minimized.
Great, thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to man page, empty line on stdin input should be ignored, but right now they send null messages.
It could be great if man and real life behavior would be consistent.
I could prepare fix for this (man page or code). If code needs to fixed it would be easier to work on top of #1473 :-)