<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: 3830484155cfa3bd8ef09b88515e8afa6c251121 (commit)
from: 946ec62893014a5796d0d90b1fc62797d4102164 (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Moises Silva
comments:
freetdm: do not expect result_cb to be set to make the interface cleaner
<span style="color: #000080; font-weight: bold">diff --git a/libs/freetdm/src/ftdm_io.c b/libs/freetdm/src/ftdm_io.c</span>
<span style="color: #000080; font-weight: bold">index 0f92f59..c9000de 100644</span>
<span style="color: #A00000">--- a/libs/freetdm/src/ftdm_io.c</span>
<span style="color: #00A000">+++ b/libs/freetdm/src/ftdm_io.c</span>
<span style="color: #800080; font-weight: bold">@@ -37,9 +37,6 @@</span>
*
*/
<span style="color: #A00000">-#ifdef MOYTEST</span>
<span style="color: #A00000">-crap</span>
<span style="color: #A00000">-#endif</span>
#define _GNU_SOURCE
#include "private/ftdm_core.h"
#include <stdarg.h>
<span style="color: #800080; font-weight: bold">@@ -2509,10 +2506,12 @@ FT_DECLARE(ftdm_status_t) _ftdm_call_place(const char *file, const char *func, i</span>
        }
        /* we have a locked channel and are not afraid of using it! */
<span style="color: #A00000">-        status = hunting->result_cb(fchan, caller_data);</span>
<span style="color: #A00000">-        if (status != FTDM_SUCCESS) {</span>
<span style="color: #A00000">-                status = FTDM_ECANCELED;</span>
<span style="color: #A00000">-                goto done;</span>
<span style="color: #00A000">+        if (hunting->result_cb) {</span>
<span style="color: #00A000">+                status = hunting->result_cb(fchan, caller_data);</span>
<span style="color: #00A000">+                if (status != FTDM_SUCCESS) {</span>
<span style="color: #00A000">+                        status = FTDM_ECANCELED;</span>
<span style="color: #00A000">+                        goto done;</span>
<span style="color: #00A000">+                }</span>
        }
        ftdm_channel_set_caller_data(fchan, caller_data);
</pre></div>
========================================================================<pre>
Summary of changes:
libs/freetdm/src/ftdm_io.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
</pre>
<p>this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email<br />
For more info, see <a href="http://blog.chomperstomp.com/?p=630">http://blog.chomperstomp.com/?p=630</a>
-- <br />
FreeSWITCH Source</p>