remove unnecessary line and add NULL check

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15832 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-12-07 19:07:53 +00:00
1 parent 12e54755cd
commit 6592c9a616
2 files changed
+1 -2

No files matched your search

@@ -2500,7 +2500,6 @@ SWITCH_STANDARD_API(originate_function)
}
caller_channel = switch_core_session_get_channel(caller_session);
switch_channel_clear_state_handler(caller_channel, NULL);
if (*exten == '&' && *(exten + 1)) {
switch_caller_extension_t *extension = NULL;