<p><a href="https://gerrit.osmocom.org/11521">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11521/1/src/libosmo-mgcp/mgcp_protocol.c">File src/libosmo-mgcp/mgcp_protocol.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/11521/1/src/libosmo-mgcp/mgcp_protocol.c@1573">Patch Set #1, Line 1573:</a> <code style="font-family:monospace,monospace"> *  (called once at startup by main function) */</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">It doesn't hurt either. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">If it were up to me, all allocation failures in osmocom projects would be handled like regular errors, i.e. propagated back to callers.<br>But our code was written with a different style.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Back when I first asked about this, I remember Harald specifically telling me that osmocom projects check allocations with OSMO_ASSERT(),<br>so that's what I've been doing.</p><p style="white-space: pre-wrap; word-wrap: break-word;">It's fine if you guys change your minds, but consistency will be appreciated nevertheless :)</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11521">change 11521</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/11521"/><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-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ie0dde2faf02fd68a69f986973d39b1bea367039b </div>
<div style="display:none"> Gerrit-Change-Number: 11521 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </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: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 31 Oct 2018 12:02:08 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>