<p><a href="https://gerrit.osmocom.org/11943">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/11943/1/osysmon_file.c">File osysmon_file.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/11943/1/osysmon_file.c@90">Patch Set #1, Line 90:</a> <code style="font-family:monospace,monospace">          return;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Shouldn't we close it here as well?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11943/1/osysmon_file.c@96">Patch Set #1, Line 96:</a> <code style="font-family:monospace,monospace">        fclose(f);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Actually I think we can close it right after fgets() but before checking it's result. This would require moving fgets() outside of if. Not sure if it's better or not.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11943">change 11943</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/11943"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sysmon </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ie1b5734748438c6d785cd96dfa9af6303cd102da </div>
<div style="display:none"> Gerrit-Change-Number: 11943 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 27 Nov 2018 11:06:14 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>