[asterisk-commits] russell: branch russell/events r73885 - /team/russell/events/funcs/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jul 8 08:04:55 CDT 2007


Author: russell
Date: Sun Jul  8 08:04:55 2007
New Revision: 73885

URL: http://svn.digium.com/view/asterisk?view=rev&rev=73885
Log:
change func_devstate to include the state when indicating that the state has changed

Modified:
    team/russell/events/funcs/func_devstate.c

Modified: team/russell/events/funcs/func_devstate.c
URL: http://svn.digium.com/view/asterisk/team/russell/events/funcs/func_devstate.c?view=diff&rev=73885&r1=73884&r2=73885
==============================================================================
--- team/russell/events/funcs/func_devstate.c (original)
+++ team/russell/events/funcs/func_devstate.c Sun Jul  8 08:04:55 2007
@@ -86,7 +86,7 @@
 		AST_RWLIST_INSERT_HEAD(&custom_devices, dev, entry);
 	}
 	dev->state = ast_devstate_val(value);
-	ast_device_state_changed("Custom:%s", dev->name);
+	ast_devstate_changed(dev->state, "Custom:%s", dev->name);
 	AST_RWLIST_UNLOCK(&custom_devices);
 
 	return 0;




More information about the asterisk-commits mailing list