<p>Kevin Harwell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18663">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">asterisk.c: Fix incompatibility warnings for remote console.<br><br>A previous review fixing ASTERISK_22246 and ASTERISK_26582<br>got a couple of the options mixed up as to whether or not<br>they are compatible with the remote console. This fixes<br>those to the best of my knowledge.<br><br>ASTERISK-30097 #close<br><br>Change-Id: Id54166991aa79f04fb02699cc499bedda854253b<br>---<br>M main/asterisk.c<br>1 file changed, 5 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/63/18663/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/asterisk.c b/main/asterisk.c</span><br><span>index 35958bc..bc9497f 100644</span><br><span>--- a/main/asterisk.c</span><br><span>+++ b/main/asterisk.c</span><br><span>@@ -3722,13 +3722,18 @@</span><br><span> switch (c) {</span><br><span> /* okay to run with remote console */</span><br><span> case 'B': /* force black background */</span><br><span style="color: hsl(120, 100%, 40%);">+ case 'C': /* set config path */</span><br><span> case 'd': /* debug */</span><br><span> case 'h': /* help */</span><br><span> case 'I': /* obsolete timing option: warning already thrown if used */</span><br><span> case 'L': /* max load */</span><br><span> case 'M': /* max calls */</span><br><span style="color: hsl(120, 100%, 40%);">+ case 'm': /* mute */</span><br><span style="color: hsl(120, 100%, 40%);">+ /*! \note The q option is never used anywhere, only defined */</span><br><span style="color: hsl(120, 100%, 40%);">+ case 'q': /* quiet */</span><br><span> case 'R': /* reconnect */</span><br><span> case 'r': /* remote */</span><br><span style="color: hsl(120, 100%, 40%);">+ /*! \note Can ONLY be used with remote console */</span><br><span> case 's': /* set socket path */</span><br><span> case 'V': /* version */</span><br><span> case 'v': /* verbose */</span><br><span>@@ -3738,7 +3743,6 @@</span><br><span> break;</span><br><span> /* can only be run when Asterisk is starting */</span><br><span> case 'X': /* enables #exec for asterisk.conf only. */</span><br><span style="color: hsl(0, 100%, 40%);">- case 'C': /* set config path */</span><br><span> case 'c': /* foreground console */</span><br><span> case 'e': /* minimum memory free */</span><br><span> case 'F': /* always fork */</span><br><span>@@ -3746,10 +3750,8 @@</span><br><span> case 'G': /* run group */</span><br><span> case 'g': /* dump core */</span><br><span> case 'i': /* init keys */</span><br><span style="color: hsl(0, 100%, 40%);">- case 'm': /* mute */</span><br><span> case 'n': /* no color */</span><br><span> case 'p': /* high priority */</span><br><span style="color: hsl(0, 100%, 40%);">- case 'q': /* quiet */</span><br><span> case 'T': /* timestamp */</span><br><span> case 't': /* cache record files */</span><br><span> case 'U': /* run user */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18663">change 18663</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/+/18663"/><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: Id54166991aa79f04fb02699cc499bedda854253b </div>
<div style="display:none"> Gerrit-Change-Number: 18663 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-CC: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>