UCS/SOCKET: simple input parameter naming fix - #11859
Conversation
|
🤖 Starting review — findings will be posted here when done. |
| @@ -461,7 +461,7 @@ ucs_status_t ucs_socket_set_buffer_size(int fd, size_t sockopt_sndbuf, | |||
| } | |||
There was a problem hiding this comment.
minor: silent_bind reads broader than the behavior — only the EADDRINUSE case is silenced. Fine given the doc comment clarifies it, just flagging.
|
Confirm with the author that the header change to |
Because its already like this, my robot friend! Look: |
Function "ucs_socket_server_init" define the input parameter "silent_bind" (and commentary confirms that). But in actual implementation his naming is different. So i decide to fix that, and the code become more clear.
3502520 to
23c84ef
Compare
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 Review complete — no issues found. |
What?
Fix the function definition/implementation input parameter different naming.
Why?
This makes code more readable (and beautiful).