[Home]

Summary:ASTERISK-03477: Typo fix in channel.c for "help show channeltypes"
Reporter:Kenneth Shumard (kshumard)Labels:
Date Opened:2005-02-10 17:37:07.000-0600Date Closed:2008-01-15 15:25:02.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) fixo_channel.diff.txt
Description:"registered" is misspelled and there's no newline (\n) at the end of the string.

****** ADDITIONAL INFORMATION ******

Disclaimer on file.
Comments:By: Kenneth Shumard (kshumard) 2005-02-10 17:42:32.000-0600

Sorry the patch file isn't included... lynx (text browser) didn't apparently send it. The patch is available at http://splurge.peoples-wireless.com/kennys/patches/channel.c.typofix.patch.txt . Or, here's the text of the patch:

--- channel.c 2005-02-10 18:24:27.000000000 -0500
+++ channel.c.typofix 2005-02-10 18:17:42.000000000 -0500
@@ -102,7 +102,7 @@

static char show_channeltypes_usage[] =
"Usage: show channeltypes\n"
-" Shows available channel types registred in your Asterisk server.";
+" Shows available channel types registered in your Asterisk server.\n";

static struct ast_cli_entry cli_show_channeltypes =
 { { "show", "channeltypes", NULL }, show_channeltypes, "Show available channel types", show_channeltypes_usage };

By: Mark Spencer (markster) 2005-02-10 17:45:57.000-0600

Fixed in CVS head, thanks.

By: Digium Subversion (svnbot) 2008-01-15 15:25:02.000-0600

Repository: asterisk
Revision: 5006

U   trunk/channel.c

------------------------------------------------------------------------
r5006 | markster | 2008-01-15 15:25:01 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix silly newline miss (bug ASTERISK-3477)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5006