[asterisk-commits] jpeeler: branch jpeeler/asterisk-sigwork-trunk r194064 - /team/jpeeler/asteri...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 12 18:07:27 CDT 2009


Author: jpeeler
Date: Tue May 12 18:07:24 2009
New Revision: 194064

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=194064
Log:
fix build error

Modified:
    team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c

Modified: team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c?view=diff&rev=194064&r1=194063&r2=194064
==============================================================================
--- team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c (original)
+++ team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c Tue May 12 18:07:24 2009
@@ -1767,7 +1767,7 @@
 {
 	struct ast_frame *f = *dest;
 	struct dahdi_pvt *p = pvt;
-	int index = analogsub_to_dahdisub(analog_index);
+	int idx = analogsub_to_dahdisub(analog_index);
 
 	ast_debug(1, "DTMF digit: %c on %s\n", f->subclass, ast->name);
 
@@ -1819,9 +1819,9 @@
 			ast_debug(1, "Fax already handled\n");
 		}
 		dahdi_confmute(p, 0);
-		p->subs[index].f.frametype = AST_FRAME_NULL;
-		p->subs[index].f.subclass = 0;
-		*dest = &p->subs[index].f;
+		p->subs[idx].f.frametype = AST_FRAME_NULL;
+		p->subs[idx].f.subclass = 0;
+		*dest = &p->subs[idx].f;
 	}
 }
 




More information about the asterisk-commits mailing list