<p><a href="https://gerrit.osmocom.org/13242">View Change</a></p><p>5 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/13242/1/src/libmsc/silent_call.c">File src/libmsc/silent_call.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/13242/1/src/libmsc/silent_call.c@91">Patch Set #1, Line 91:</a> <code style="font-family:monospace,monospace">            osmo_timer_schedule(&scd->timer, 0, 0);</code></p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Can you at least document that in the code then?</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">ACK, some small comment would be appreciated.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13242/1/src/libmsc/silent_call.c@106">Patch Set #1, Line 106:</a> <code style="font-family:monospace,monospace">(i=0; i<scd->ct.perm_spch_len; i++)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Cosmetic: spaces between '=' and '<' are missing.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13242/1/src/libmsc/silent_call.c@127">Patch Set #1, Line 127:</a> <code style="font-family:monospace,monospace"></code></p><p style="white-space: pre-wrap; word-wrap: break-word;">ws</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13242/1/src/libmsc/silent_call.c@196">Patch Set #1, Line 196:</a> <code style="font-family:monospace,monospace">struct gsm0808_channel_type</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Rather sizeof(*ct), so it would be safe to rename 'gsm0808_channel_type' symbol later on... Not critical though.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13242/1/src/libmsc/silent_call.c@199">Patch Set #1, Line 199:</a> <code style="font-family:monospace,monospace">sizeof(scd->traffic_ip)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Are you sure it would calculate the size of the string buffer and not the size of pointer? (Personally I'm always unsure in such cases, so testing is required)</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13242">change 13242</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/13242"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I82645708dd27864cf33ea9cc993ead0983415602 </div>
<div style="display:none"> Gerrit-Change-Number: 13242 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: tnt <tnt@246tNt.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: tnt <tnt@246tNt.com> </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-CC: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 14 Mar 2019 08:12:54 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>