]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODOPAL-17
authorMathieu Rene <mrene@avgs.ca>
Sat, 13 Feb 2010 18:33:29 +0000 (18:33 +0000)
committerMathieu Rene <mrene@avgs.ca>
Sat, 13 Feb 2010 18:33:29 +0000 (18:33 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16634 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_opal/mod_opal.cpp

index 7ea70184258c176055bb9d4d859e3531cc994e09..e38e11319683cf160f5b87636f593a1a04b74cfe 100644 (file)
@@ -40,7 +40,7 @@ struct mod_opal_globals mod_opal_globals = { 0 };
 
 static switch_call_cause_t create_outgoing_channel(switch_core_session_t *session, switch_event_t *var_event,
                                                    switch_caller_profile_t *outbound_profile, switch_core_session_t **new_session,
-                                                   switch_memory_pool_t **pool, switch_originate_flag_t flags);
+                                                   switch_memory_pool_t **pool, switch_originate_flag_t flags, switch_call_cause_t *cancel_cause);
 
 
 static FSProcess *opal_process = NULL;
@@ -138,7 +138,7 @@ SWITCH_END_EXTERN_C
 static switch_call_cause_t create_outgoing_channel(switch_core_session_t *session,
                                                    switch_event_t *var_event,
                                                    switch_caller_profile_t *outbound_profile,
-                                                   switch_core_session_t **new_session, switch_memory_pool_t **pool, switch_originate_flag_t flags)
+                                                   switch_core_session_t **new_session, switch_memory_pool_t **pool, switch_originate_flag_t flags, switch_call_cause_t *cancel_cause)
 {
     if (opal_process == NULL) {
         return SWITCH_CAUSE_CRASH;
@@ -250,7 +250,7 @@ class FSTrace : public ostream {
                         line = atoi(bufPtr);
                         while (bufEndPtr && isspace(*(++bufEndPtr)));
                         bufPtr = bufEndPtr;
-                        if (bufPtr && (e = strchr(bufPtr, ' ')) || (e = strchr(bufPtr, '\t'))) {
+                        if (bufPtr && ((e = strchr(bufPtr, ' ')) || (e = strchr(bufPtr, '\t')))) {
                             func = bufPtr;
                             bufPtr = e;
                             *bufPtr++ = '\0';