Revision
16955
Author
rupa
Date
2010-03-09 12:45:40 -0600 (Tue, 09 Mar 2010)

Log Message

spelling in comments

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_nibblebill/mod_nibblebill.c (16954 => 16955)


--- freeswitch/trunk/src/mod/applications/mod_nibblebill/mod_nibblebill.c	2010-03-09 17:46:00 UTC (rev 16954)
+++ freeswitch/trunk/src/mod/applications/mod_nibblebill/mod_nibblebill.c	2010-03-09 18:45:40 UTC (rev 16955)
@@ -456,7 +456,7 @@
 	switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%d seconds passed since last bill time of %s\n",
 					  (int) ((ts - nibble_data->lastts) / 1000000), date);
 
-	if ((ts - nibble_data->lastts) >= 0) {
+	if ((ts - nibble_data->lastts) >= 0) {nn
 		/* Convert billrate into microseconds and multiply by # of microseconds that have passed since last *successful* bill */
 		billamount = ((float) atof(billrate) / 1000000 / 60) * ((ts - nibble_data->lastts)) - nibble_data->bill_adjustments;
 
@@ -488,7 +488,7 @@
 	if (channel) {
 		switch_channel_set_private(channel, "_nibble_data_", nibble_data);
 
-		/* don't verify ballance and transfer to nobal if we're done with call */
+		/* don't verify balance and transfer to nobal if we're done with call */
 		if (switch_channel_get_state(channel) != CS_REPORTING && switch_channel_get_state(channel) != CS_HANGUP) {
 			/* See if this person has enough money left to continue the call */
 			balance = get_balance(billaccount);