mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add missing terminator to ast_event_subscribe to fix a crash.
(from rev 131206 in the 1.6.0 branch) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@131207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2488,7 +2488,7 @@ static int load_module(void)
|
||||
/* Dialplan Functions */
|
||||
ast_custom_function_register(&agent_function);
|
||||
|
||||
agent_devicestate_sub = ast_event_subscribe(AST_EVENT_DEVICE_STATE, agent_devicestate_cb, NULL);
|
||||
agent_devicestate_sub = ast_event_subscribe(AST_EVENT_DEVICE_STATE, agent_devicestate_cb, NULL, AST_EVENT_IE_END);
|
||||
|
||||
return AST_MODULE_LOAD_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user