-
Notifications
You must be signed in to change notification settings - Fork 423
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
Extra quotation mark for unix sockets in coap_print_addr #1460
Comments
I think when I first put this in place, I wanted to differentiate between an IP address of Certainly when parsing a CoAP URI, this was implemented as starting with
So, from that perspective, there is no need for the I think it unlikely that things will get broken if the change is made. However, if |
Thanks! |
Hello,
in the
coap_print_addr()
function, the path to a unix domain socket is enclosed in quotations marks:libcoap/src/coap_debug.c
Line 258 in a1a16f3
Is there a specific reason why this is done?
In my code, I want to check over which endpoint a session has been started and I do a string comparison of the paths which becomes unnecessarily complicated with the quotation marks in my opinion. It is not a huge problem to work around this but if there is no need for the quotation marks I would open a PR to remove them. Or do you have concerns that this might break existing applications?
Thank you!
The text was updated successfully, but these errors were encountered: