<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_name_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;">I mean it should be named osmo_sock_get_name_buf(). […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">ok. Just to make sure, it's not confusing that osmo_sock_get_name_buf() results in "r:1.2.3.4:5<->l:4.5.6.7:8" while osmo_sock_get_name() returns a tallocd "(r:....7:8)" with braces?<br>(I will know this, but am worried about future readers)</p><p style="white-space: pre-wrap; word-wrap: break-word;">If you're sure then I'll drop the 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;">Well since a variable in C cannot contain a space, it makes no sense to me to add an extra space, it […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">lol what, a variable containing a space? I do this just for readability, I find it a lot easier to spot where the doc string starts when setting it apart from the variable name. I'd even use a tab if I liked tabs. Would a tab be better?</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: 2 </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 02:49:17 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>