[asterisk-commits] dbrooks: trunk r209554 - in /trunk: addons/ addons/ooh323c/src/ apps/ channel...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 30 11:07:11 CDT 2009


Author: dbrooks
Date: Thu Jul 30 11:07:05 2009
New Revision: 209554

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=209554
Log:
Fixes numerous spelling errors. Patch submitted by alecdavis.

(closes issue #15595)
Reported by: alecdavis


Modified:
    trunk/addons/chan_ooh323.c
    trunk/addons/ooh323c/src/ooGkClient.h
    trunk/apps/app_forkcdr.c
    trunk/apps/app_sms.c
    trunk/channels/chan_console.c
    trunk/channels/chan_dahdi.c
    trunk/channels/sig_pri.h
    trunk/codecs/lpc10/pitsyn.c
    trunk/contrib/init.d/rc.debian.asterisk
    trunk/funcs/func_math.c
    trunk/include/asterisk/abstract_jb.h

Modified: trunk/addons/chan_ooh323.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/addons/chan_ooh323.c?view=diff&rev=209554&r1=209553&r2=209554
==============================================================================
--- trunk/addons/chan_ooh323.c (original)
+++ trunk/addons/chan_ooh323.c Thu Jul 30 11:07:05 2009
@@ -1967,7 +1967,7 @@
 	ast_config_destroy(cfg);
 
 
-	/* Determine ip address if neccessary */
+	/* Determine ip address if necessary */
 	if (ast_strlen_zero(gIP)) {
 		ooGetLocalIPAddress(gIP);
 		if (!strcmp(gIP, "127.0.0.1")) {

Modified: trunk/addons/ooh323c/src/ooGkClient.h
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/addons/ooh323c/src/ooGkClient.h?view=diff&rev=209554&r1=209553&r2=209554
==============================================================================
--- trunk/addons/ooh323c/src/ooGkClient.h (original)
+++ trunk/addons/ooh323c/src/ooGkClient.h Thu Jul 30 11:07:05 2009
@@ -411,7 +411,7 @@
 
 
 /**
- * This function is used to send an unregistration confirm messsage to 
+ * This function is used to send an unregistration confirm message to 
  * gatekeeper.
  * @param pGkClient        Handle to gatekeeper client.
  * @param reqNo            Request Sequence number for the confirm message.

Modified: trunk/apps/app_forkcdr.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/apps/app_forkcdr.c?view=diff&rev=209554&r1=209553&r2=209554
==============================================================================
--- trunk/apps/app_forkcdr.c (original)
+++ trunk/apps/app_forkcdr.c Thu Jul 30 11:07:05 2009
@@ -64,7 +64,7 @@
 						reset.</para>
 					</option>
 					<option name="e">
-						<para>End the original CDR. Do this after all the neccessry data is copied
+						<para>End the original CDR. Do this after all the necessary data is copied
 						from the original CDR to the new forked CDR.</para>
 					</option>
 					<option name="r">

Modified: trunk/apps/app_sms.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/apps/app_sms.c?view=diff&rev=209554&r1=209553&r2=209554
==============================================================================
--- trunk/apps/app_sms.c (original)
+++ trunk/apps/app_sms.c Thu Jul 30 11:07:05 2009
@@ -1779,7 +1779,7 @@
 			h->iphasep = 0;
 		}
 		if (bit && h->ibitc == 200) {       /* sync, restart message */
-			/* Protocol 2: empty connnection ready (I am master) */
+			/* Protocol 2: empty connection ready (I am master) */
 			if (h->framenumber < 0 && h->ibytec >= 160 && !memcmp(h->imsg, "UUUUUUUUUUUUUUUUUUUU", 20)) {
 				h->framenumber = 1;
 				ast_verb(3, "SMS protocol 2 detected\n");

Modified: trunk/channels/chan_console.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_console.c?view=diff&rev=209554&r1=209553&r2=209554
==============================================================================
--- trunk/channels/chan_console.c (original)
+++ trunk/channels/chan_console.c Thu Jul 30 11:07:05 2009
@@ -1372,7 +1372,7 @@
 /*!
  * \brief Load the configuration
  * \param reload if this was called due to a reload
- * \retval 0 succcess
+ * \retval 0 success
  * \retval -1 failure
  */
 static int load_config(int reload)

Modified: trunk/channels/chan_dahdi.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=209554&r1=209553&r2=209554
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Thu Jul 30 11:07:05 2009
@@ -1041,7 +1041,7 @@
 	 */
 	char mohinterpret[MAX_MUSICCLASS];
 	/*!
-	 * \brief Sugggested music-on-hold class for peer channel to use for calls.
+	 * \brief Suggested music-on-hold class for peer channel to use for calls.
 	 * \note The "mohsuggest" string read in from chan_dahdi.conf
 	 */
 	char mohsuggest[MAX_MUSICCLASS];
@@ -1609,7 +1609,7 @@
 		/*** NOTES ***/
 		/* Change API: remove cid_signalling from get_callerid, add a new start_cid_detect and stop_cid_detect function
 		 * to enable slin mode and allocate cid detector. get_callerid should be able to be called any number of times until
-		 * either a timeout occurss or CID is detected (returns 0). returning 1 should be event received, and -1 should be
+		 * either a timeout occurs or CID is detected (returns 0). returning 1 should be event received, and -1 should be
 		 * a failure and die, and returning 2 means no event was received. */
 		res = read(p->subs[index].dfd, buf, sizeof(buf));
 		if (res < 0) {
@@ -7092,7 +7092,7 @@
 			p->dop.dialstr[0] = '\0';
 			break;
 		default:
-			ast_log(LOG_WARNING, "Don't know how to handle ring/off hoook for signalling %d\n", p->sig);
+			ast_log(LOG_WARNING, "Don't know how to handle ring/off hook for signalling %d\n", p->sig);
 		}
 		break;
 	case DAHDI_EVENT_HOOKCOMPLETE:

Modified: trunk/channels/sig_pri.h
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/sig_pri.h?view=diff&rev=209554&r1=209553&r2=209554
==============================================================================
--- trunk/channels/sig_pri.h (original)
+++ trunk/channels/sig_pri.h Thu Jul 30 11:07:05 2009
@@ -132,7 +132,7 @@
 	char rdnis[AST_MAX_EXTENSION];
 	char dnid[AST_MAX_EXTENSION];
 	char exten[AST_MAX_EXTENSION];
-	int callingpres;				/*!< The value of callling presentation that we're going to use when placing a PRI call */
+	int callingpres;				/*!< The value of calling presentation that we're going to use when placing a PRI call */
 	char lastcid_num[AST_MAX_EXTENSION];
 	char lastcid_name[AST_MAX_EXTENSION];
 

Modified: trunk/codecs/lpc10/pitsyn.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/codecs/lpc10/pitsyn.c?view=diff&rev=209554&r1=209553&r2=209554
==============================================================================
--- trunk/codecs/lpc10/pitsyn.c (original)
+++ trunk/codecs/lpc10/pitsyn.c Thu Jul 30 11:07:05 2009
@@ -73,7 +73,7 @@
  * Initial revision
  * */
 /* Revision 1.2  1996/03/25  18:49:07  jaf */
-/* Added commments about which indices of array arguments are read or */
+/* Added comments about which indices of array arguments are read or */
 /* written. */
 
 /* Rearranged local variable declarations to indicate which need to be */

Modified: trunk/contrib/init.d/rc.debian.asterisk
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/contrib/init.d/rc.debian.asterisk?view=diff&rev=209554&r1=209553&r2=209554
==============================================================================
--- trunk/contrib/init.d/rc.debian.asterisk (original)
+++ trunk/contrib/init.d/rc.debian.asterisk Thu Jul 30 11:07:05 2009
@@ -4,7 +4,7 @@
 # Mon Jun 04 2007 Iñaki Baz Castillo <ibc at in.ilimit.es>
 # - Eliminated SAFE_ASTERISK since it doesn't work as LSB script (it could require a independent "safe_asterisk" init script).
 # - Load and use the standar "/lib/lsb/init-functions".
-# - Addded "--oknodo" to "start-stop-daemon" for compatibility with LSB:
+# - Added "--oknodo" to "start-stop-daemon" for compatibility with LSB:
 #   http://www.linux-foundation.org/spec/refspecs/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
 #
 # Thu Nov 17 2005 Gregory Boehnlein <damin at nacs.net>

Modified: trunk/funcs/func_math.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/funcs/func_math.c?view=diff&rev=209554&r1=209553&r2=209554
==============================================================================
--- trunk/funcs/func_math.c (original)
+++ trunk/funcs/func_math.c Thu Jul 30 11:07:05 2009
@@ -392,7 +392,7 @@
 	}
 
 	if (ast_strlen_zero(var)) {
-		ast_log(LOG_NOTICE, "Variable %s doesn't exist - are you sure you wrote it corrrectly?\n", data);
+		ast_log(LOG_NOTICE, "Variable %s doesn't exist - are you sure you wrote it correctly?\n", data);
 		ast_channel_unlock(chan);
 		return -1;
 	}

Modified: trunk/include/asterisk/abstract_jb.h
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/include/asterisk/abstract_jb.h?view=diff&rev=209554&r1=209553&r2=209554
==============================================================================
--- trunk/include/asterisk/abstract_jb.h (original)
+++ trunk/include/asterisk/abstract_jb.h Thu Jul 30 11:07:05 2009
@@ -183,8 +183,8 @@
  * \param varname property name.
  * \param value property value.
  *
- * Called from a channel driver to build a jitterbuffer configuration tipically when
- * reading a configuration file. It is not neccessary for a channel driver to know
+ * Called from a channel driver to build a jitterbuffer configuration typically when
+ * reading a configuration file. It is not necessary for a channel driver to know
  * each of the jb configuration property names. The jitterbuffer itself knows them.
  * The channel driver can pass each config var it reads through this function. It will
  * return 0 if the variable was consumed from the jb conf.




More information about the asterisk-commits mailing list