<p>Joshua Colp <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13780">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
George Joseph: Looks good to me, approved
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">func_odbc: Prevent snprintf() truncation warning<br><br>For reasons that are not clear to me - this only appears for me when<br>_not_ building in dev-mode.<br><br>Change-Id: Ib45c54daaea8e0d571cb470cab1daaae2edba968<br>---<br>M funcs/func_odbc.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c</span><br><span>index f9fa971..e9fe597 100644</span><br><span>--- a/funcs/func_odbc.c</span><br><span>+++ b/funcs/func_odbc.c</span><br><span>@@ -1406,7 +1406,7 @@</span><br><span> AST_APP_ARG(field)[100];</span><br><span> );</span><br><span> struct ast_str *sql;</span><br><span style="color: hsl(0, 100%, 40%);">- char *char_args, varname[10];</span><br><span style="color: hsl(120, 100%, 40%);">+ char *char_args, varname[15];</span><br><span> struct acf_odbc_query *query;</span><br><span> struct ast_channel *chan;</span><br><span> int i;</span><br><span>@@ -1622,7 +1622,7 @@</span><br><span> AST_APP_ARG(field)[100];</span><br><span> );</span><br><span> struct ast_str *sql;</span><br><span style="color: hsl(0, 100%, 40%);">- char *char_args, *char_values, varname[10];</span><br><span style="color: hsl(120, 100%, 40%);">+ char *char_args, *char_values, varname[15];</span><br><span> struct acf_odbc_query *query;</span><br><span> struct ast_channel *chan;</span><br><span> int i;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13780">change 13780</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.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.asterisk.org/c/asterisk/+/13780"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: Ib45c54daaea8e0d571cb470cab1daaae2edba968 </div>
<div style="display:none"> Gerrit-Change-Number: 13780 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>