<p><a href="https://gerrit.osmocom.org/13515">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/13515/7/src/hlr_ussd.c">File src/hlr_ussd.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/13515/7/src/hlr_ussd.c@248">Patch Set #7, Line 248:</a> <code style="font-family:monospace,monospace">                ss->vlr_number_len = strlen(subscr.vlr_number) + 1;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">(I still don't like the +1 on the strlen, I think we may need to discuss the blob plan separately so […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Me neither, but at least I've documented the current state here:<br>https://gerrit.osmocom.org/#/c/osmo-hlr/+/13549/</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13515/7/src/hlr_ussd.c@562">Patch Set #7, Line 562:</a> <code style="font-family:monospace,monospace">                          if (gsup->source_name) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Why do you think we can skip this patch chunk? This is how I've interpreted your comment [1]:</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">For all MO USSD sessions, store the originating MSC's vlr_name in ss-> on the first message coming in from the MSC/VLR.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">...and isn't the only place where we know if a message is MO USSD or MT USSD right here?</p><p style="white-space: pre-wrap; word-wrap: break-word;">And if we do skip it, where should ss->vlr_number get filled out instead?</p><p style="white-space: pre-wrap; word-wrap: break-word;">[1]: https://gerrit.osmocom.org/#/c/osmo-hlr/+/13479/5/src/hlr_ussd.c@175</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13515">change 13515</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/13515"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: If5a65f471672949192061c5fe396603611123bc1 </div>
<div style="display:none"> Gerrit-Change-Number: 13515 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@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: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 08 Apr 2019 14:57:11 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>