[asterisk-commits] seanbright: branch seanbright/resolve-shadow-warnings r135177 - /team/seanbri...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 1 13:24:25 CDT 2008


Author: seanbright
Date: Fri Aug  1 13:24:24 2008
New Revision: 135177

URL: http://svn.digium.com/view/asterisk?view=rev&rev=135177
Log:
Avoid a shadow warning.

Modified:
    team/seanbright/resolve-shadow-warnings/channels/chan_dahdi.c

Modified: team/seanbright/resolve-shadow-warnings/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/team/seanbright/resolve-shadow-warnings/channels/chan_dahdi.c?view=diff&rev=135177&r1=135176&r2=135177
==============================================================================
--- team/seanbright/resolve-shadow-warnings/channels/chan_dahdi.c (original)
+++ team/seanbright/resolve-shadow-warnings/channels/chan_dahdi.c Fri Aug  1 13:24:24 2008
@@ -4224,9 +4224,9 @@
 	}
 }
 			
-static void handle_alarms(struct dahdi_pvt *p, int alarms)
-{
-	const char *alarm_str = alarm2str(alarms);
+static void handle_alarms(struct dahdi_pvt *p, int alms)
+{
+	const char *alarm_str = alarm2str(alms);
 
 	ast_log(LOG_WARNING, "Detected alarm on channel %d: %s\n", p->channel, alarm_str);
 	manager_event(EVENT_FLAG_SYSTEM, "Alarm",




More information about the asterisk-commits mailing list