<p><a href="https://gerrit.osmocom.org/c/libosmocore/+/16149">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/16149/1/src/vty/vty.c">File src/vty/vty.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/libosmocore/+/16149/1/src/vty/vty.c@235">Patch Set #1, Line 235:</a> <code style="font-family:monospace,monospace">    if (vty->fd > 2) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I kind of prefer the explicit mention of 'stderr', it makes abundantly clear what the condition is doing. If we need stdin and stdout as well, I'd rather add 'vty->fd != fileno(stdout)' as well.<br>But in fact, we will never have an fd on stdout because there is no 'log stdout' VTY command.<br>And for obious reasons no vty fd will ever be == fileno(stdin).<br>So I see what this is about, but my bikeshed is: just keep the previous version :P</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/16149">change 16149</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/c/libosmocore/+/16149"/><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-Change-Id: Ied35d142af0ba0f5ad78975b8f22c35b32d6ff71 </div>
<div style="display:none"> Gerrit-Change-Number: 16149 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 26 Nov 2019 03:28:12 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>