<p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18754">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18754/1//COMMIT_MSG">Commit Message:</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/osmo-mgw/+/18754/1//COMMIT_MSG@21">Patch Set #1, Line 21:</a> <code style="font-family:monospace,monospace">endpoint will name itsself by the trunk properites and the index number</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">typo: properties</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18754/1/include/osmocom/mgcp/mgcp_endp.h">File include/osmocom/mgcp/mgcp_endp.h:</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/osmo-mgw/+/18754/1/include/osmocom/mgcp/mgcp_endp.h@107">Patch Set #1, Line 107:</a> <code style="font-family:monospace,monospace">                                     unsigned int index);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">no need to split new line</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18754/1/src/libosmo-mgcp/mgcp_endp.c">File src/libosmo-mgcp/mgcp_endp.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/osmo-mgw/+/18754/1/src/libosmo-mgcp/mgcp_endp.c@65">Patch Set #1, Line 65:</a> <code style="font-family:monospace,monospace">           gen_virtual_epname(ep_name_buf, trunk->cfg->domain, index);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">It's a bit strange having a function for one type while still using snprintf directly here for another.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18754/1/src/libosmo-mgcp/mgcp_endp.c@78">Patch Set #1, Line 78:</a> <code style="font-family:monospace,monospace">   endp->name = talloc_strdup(endp, ep_name_buf);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">What about using talloc_asprintf() instead of snprintf + talloc_strdup?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18754">change 18754</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/osmo-mgw/+/18754"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8dee07f1c63037d1f73113f69c612d1f2703cee5 </div>
<div style="display:none"> Gerrit-Change-Number: 18754 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 10 Jun 2020 14:13:28 +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>