[asterisk-commits] tilghman: branch 1.4 r43441 - /branches/1.4/apps/app_rpt.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Sep 21 12:43:32 MST 2006


Author: tilghman
Date: Thu Sep 21 14:43:32 2006
New Revision: 43441

URL: http://svn.digium.com/view/asterisk?rev=43441&view=rev
Log:
Oops, missed the merge breakage

Modified:
    branches/1.4/apps/app_rpt.c

Modified: branches/1.4/apps/app_rpt.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_rpt.c?rev=43441&r1=43440&r2=43441&view=diff
==============================================================================
--- branches/1.4/apps/app_rpt.c (original)
+++ branches/1.4/apps/app_rpt.c Thu Sep 21 14:43:32 2006
@@ -1886,7 +1886,7 @@
 	const char *wait_times;
 	char *wait_times_save = NULL;
 
-	wait_times = ast_variable_retrieve(cfg, myrpt->name, "wait_times");
+	wait_times = ast_variable_retrieve(myrpt->cfg, myrpt->name, "wait_times");
 
 	if (wait_times) {
 		wait_times_save = ast_strdupa(wait_times);
@@ -1899,28 +1899,28 @@
 	switch (type) {
 	case DLY_TELEM:
 		if (wait_times)
-			interval = retrieve_astcfgint(wait_times_save, "telemwait", 500, 5000, 1000);
+			interval = retrieve_astcfgint(myrpt, wait_times_save, "telemwait", 500, 5000, 1000);
 		else
 			interval = 1000;
 		break;
 
 	case DLY_ID:
 		if (wait_times)
-			interval = retrieve_astcfgint(wait_times_save, "idwait", 250, 5000, 500);
+			interval = retrieve_astcfgint(myrpt, wait_times_save, "idwait", 250, 5000, 500);
 		else
 			interval = 500;
 		break;
 
 	case DLY_UNKEY:
 		if (wait_times)
-			interval = retrieve_astcfgint(wait_times_save, "unkeywait", 500, 5000, 1000);
+			interval = retrieve_astcfgint(myrpt, wait_times_save, "unkeywait", 500, 5000, 1000);
 		else
 			interval = 1000;
 		break;
 
 	case DLY_CALLTERM:
 		if (wait_times)
-			interval = retrieve_astcfgint(wait_times_save, "calltermwait", 500, 5000, 1500);
+			interval = retrieve_astcfgint(myrpt, wait_times_save, "calltermwait", 500, 5000, 1500);
 		else
 			interval = 1500;
 		break;
@@ -1929,7 +1929,7 @@
 		return 0;
 	}
 	return interval;
-}														  
+}
 
 
 /*



More information about the asterisk-commits mailing list