<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17647">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">strings: Fix enum names in comment examples<br><br>The enum values for ast_strsep_flags includes<br>AST_STRSEP_STRIP. However, some comments reference<br>AST_SEP_STRIP, which doesn't exist. This fixes<br>these comments to use the correct value.<br><br>ASTERISK-29800 #close<br><br>Change-Id: If7bbd0c0e6226a211d25ddf9d1629347e2674943<br>---<br>M include/asterisk/strings.h<br>1 file changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/asterisk/strings.h b/include/asterisk/strings.h</span><br><span>index 65a4289..ab46273 100644</span><br><span>--- a/include/asterisk/strings.h</span><br><span>+++ b/include/asterisk/strings.h</span><br><span>@@ -289,13 +289,13 @@</span><br><span>    char *mystr = ast_strdupa("abc=def,ghi='zzz=yyy,456',jkl");</span><br><span>        char *token, *token2, *token3;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-      while((token = ast_strsep(&mystr, ',', AST_SEP_STRIP))) {</span><br><span style="color: hsl(120, 100%, 40%);">+ while((token = ast_strsep(&mystr, ',', AST_STRSEP_STRIP))) {</span><br><span>             // 1st token will be aaa=def</span><br><span>                 // 2nd token will be ghi='zzz=yyy,456'</span><br><span style="color: hsl(0, 100%, 40%);">-          while((token2 = ast_strsep(&token, '=', AST_SEP_STRIP))) {</span><br><span style="color: hsl(120, 100%, 40%);">+                while((token2 = ast_strsep(&token, '=', AST_STRSEP_STRIP))) {</span><br><span>                    // 1st token2 will be ghi</span><br><span>                    // 2nd token2 will be zzz=yyy,456</span><br><span style="color: hsl(0, 100%, 40%);">-                       while((token3 = ast_strsep(&token2, ',', AST_SEP_STRIP))) {</span><br><span style="color: hsl(120, 100%, 40%);">+                       while((token3 = ast_strsep(&token2, ',', AST_STRSEP_STRIP))) {</span><br><span>                           // 1st token3 will be zzz=yyy</span><br><span>                                // 2nd token3 will be 456</span><br><span>                            // and so on</span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17647">change 17647</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/+/17647"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If7bbd0c0e6226a211d25ddf9d1629347e2674943 </div>
<div style="display:none"> Gerrit-Change-Number: 17647 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.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-MessageType: merged </div>