<p><a href="https://gerrit.osmocom.org/12226">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12226/2/tests/sgsn/sgsn_test.c">File tests/sgsn/sgsn_test.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/12226/2/tests/sgsn/sgsn_test.c@1343">Patch Set #2, Line 1343:</a> <code style="font-family:monospace,monospace">      size_t old = sgsn_acl_count(cfg), new;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This line is suuuuuper ugly, mixing declaration, initialization and function call.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12226/2/tests/sgsn/sgsn_test.c@1374">Patch Set #2, Line 1374:</a> <code style="font-family:monospace,monospace">  size_t old = sgsn_acl_count(cfg), new;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">same</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12226/2/tests/sgsn/sgsn_test.c@1383">Patch Set #2, Line 1383:</a> <code style="font-family:monospace,monospace">                printf("failed to remove acl %s, total entries %zu\n", imsi, sgsn_acl_count(cfg));</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">You can use "new" here instead of sgsn_acl_count(cfg)</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12226">change 12226</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/12226"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sgsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ia782f12b49bed6428bc9b9f513237e4e6aefdec9 </div>
<div style="display:none"> Gerrit-Change-Number: 12226 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-CC: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 10 Dec 2018 16:02:59 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>