<p><a href="https://gerrit.osmocom.org/12268">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12268/1/include/osmocom/core/socket.h">File include/osmocom/core/socket.h:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12268/1/include/osmocom/core/socket.h@64">Patch Set #1, Line 64:</a> <code style="font-family:monospace,monospace">int osmo_sock_get_name2_buf(char *str, size_t str_len, int fd);</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">ok. Just to make sure, it's not confusing that osmo_sock_get_name_buf() results in "r:1.2.3. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">The function name contains "buf" some some reason, so readers should be able to figure out there's 2 functions for some reason and that they are not exactly the same.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Furthermore, future readers, as their name indicate, are capable of reading the function documentation and few lines of code :)</p><p style="white-space: pre-wrap; word-wrap: break-word;"><br>So yes, let's please remove unneeded 2.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12268/1/src/socket.c">File src/socket.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12268/1/src/socket.c@796">Patch Set #1, Line 796:</a> <code style="font-family:monospace,monospace"> *  \param[out] str  Destination string buffer.</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">lol what, a variable containing a space? I do this just for readability, I find it a lot easier to s […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Not really, but it's not really important, you can leave it like that if you want. Just wanted to make sure at least you were aware of it.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12268">change 12268</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/12268"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I8ad89ac447c9c582742e70d082072bdd40a5a398 </div>
<div style="display:none"> Gerrit-Change-Number: 12268 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 18 Dec 2018 11:15:17 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>