[asterisk-commits] irroot: branch irroot/distrotech-customers-1.8 r322186 - in /team/irroot/dist...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 7 05:13:06 CDT 2011


Author: irroot
Date: Tue Jun  7 05:13:02 2011
New Revision: 322186

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=322186
Log:
Spelling fix trivial patch

Modified:
    team/irroot/distrotech-customers-1.8/CHANGES
    team/irroot/distrotech-customers-1.8/apps/app_queue.c

Modified: team/irroot/distrotech-customers-1.8/CHANGES
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-1.8/CHANGES?view=diff&rev=322186&r1=322185&r2=322186
==============================================================================
--- team/irroot/distrotech-customers-1.8/CHANGES (original)
+++ team/irroot/distrotech-customers-1.8/CHANGES Tue Jun  7 05:13:02 2011
@@ -295,12 +295,12 @@
    supports sending the event arguments to 5 individual fields, although it
    will fallback to the previous data definition, if the new table layout is
    not found.
- * Added genral option negitive_penalty_invalid default off. when set
+ * Added general option negative_penalty_invalid default off. when set
    members are seen as invalid/logged out when there penalty is negative.
    for realtime members when set remove from queue will set penalty to -1.
  * Added queue option autopausedelay when autopause is enabled it will be
    delayed for this number of seconds since last successful call if there
-   was no prior call the agent will be autopaused immeadiately.
+   was no prior call the agent will be autopaused immediately.
  * Added member option ignorebusy this when set and ringinuse is not
    will allow per member control of multiple calls as ringinuse does for
    the Queue.

Modified: team/irroot/distrotech-customers-1.8/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-1.8/apps/app_queue.c?view=diff&rev=322186&r1=322185&r2=322186
==============================================================================
--- team/irroot/distrotech-customers-1.8/apps/app_queue.c (original)
+++ team/irroot/distrotech-customers-1.8/apps/app_queue.c Tue Jun  7 05:13:02 2011
@@ -950,7 +950,7 @@
 static int update_cdr = 0;
 
 /*! \brief queues.conf [genral] option */
-static int negitive_penalty_invalid = 0;
+static int negative_penalty_invalid = 0;
 
 enum queue_result {
 	QUEUE_UNKNOWN = 0,
@@ -2121,7 +2121,7 @@
 
 	if (penalty_str) {
 		penalty = atoi(penalty_str);
-		if ((penalty < 0) && negitive_penalty_invalid) {
+		if ((penalty < 0) && negative_penalty_invalid) {
 			return;
 		} else if (penalty < 0) {
 			penalty = 0;
@@ -5256,7 +5256,7 @@
 		if ((mem = ao2_find(q->members, &tmpmem, OBJ_POINTER))) {
 			/* XXX future changes should beware of this assumption!! */
 			/*Change Penalty on realtime users*/
-			if (mem->realtime && !ast_strlen_zero(mem->rt_uniqueid) && negitive_penalty_invalid) {
+			if (mem->realtime && !ast_strlen_zero(mem->rt_uniqueid) && negative_penalty_invalid) {
 				update_realtime_member_field(mem, q->name, "penalty", "-1");
 			} else if (!mem->dynamic) {
 				ao2_ref(mem, -1);
@@ -6706,9 +6706,9 @@
 	shared_lastcall = 0;
 	if ((general_val = ast_variable_retrieve(cfg, "general", "shared_lastcall")))
 		shared_lastcall = ast_true(general_val);
-	negitive_penalty_invalid = 0;
-	if ((general_val = ast_variable_retrieve(cfg, "general", "negitive_penalty_invalid")))
-		negitive_penalty_invalid = ast_true(general_val);
+	negative_penalty_invalid = 0;
+	if ((general_val = ast_variable_retrieve(cfg, "general", "negative_penalty_invalid")))
+		negative_penalty_invalid = ast_true(general_val);
 }
 
 /*! \brief reload information pertaining to a single member




More information about the asterisk-commits mailing list