[svn-commits] russell: branch 1.6.0 r133487 - in /branches/1.6.0: ./ channels/chan_agent.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 24 15:41:36 CDT 2008


Author: russell
Date: Thu Jul 24 15:41:36 2008
New Revision: 133487

URL: http://svn.digium.com/view/asterisk?view=rev&rev=133487
Log:
Merged revisions 133486 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r133486 | russell | 2008-07-24 15:40:15 -0500 (Thu, 24 Jul 2008) | 3 lines

I made this change from DEVICE_STATE to DEVICE_STATE_CHANGE, but I had it backwards,
this is the right event to subscribe to ...

........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/channels/chan_agent.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/channels/chan_agent.c?view=diff&rev=133487&r1=133486&r2=133487
==============================================================================
--- branches/1.6.0/channels/chan_agent.c (original)
+++ branches/1.6.0/channels/chan_agent.c Thu Jul 24 15:41:36 2008
@@ -2464,7 +2464,8 @@
 	/* Dialplan Functions */
 	ast_custom_function_register(&agent_function);
 
-	agent_devicestate_sub = ast_event_subscribe(AST_EVENT_DEVICE_STATE, agent_devicestate_cb, NULL, AST_EVENT_IE_END);
+	agent_devicestate_sub = ast_event_subscribe(AST_EVENT_DEVICE_STATE,
+		agent_devicestate_cb, NULL, AST_EVENT_IE_END);
 
 	return AST_MODULE_LOAD_SUCCESS;
 }




More information about the svn-commits mailing list