mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-08 20:43:51 +00:00
Thu Feb 12 07:17:31 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
* tport.c: return correct errno from tport_listen() git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11944 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
8ff2eefcea
commit
b5ef501d09
2 files changed
+2
-2
No files matched your search
@@ -731,7 +731,7 @@ tport_primary_t *tport_listen(tport_master_t *mr,
|
||||
/* Create a primary transport object for another transport. */
|
||||
pri = tport_alloc_primary(mr, vtable, tpn, ai, tags, &culprit);
|
||||
if (pri == NULL)
|
||||
return TPORT_LISTEN_ERROR(errno, culprit);
|
||||
return TPORT_LISTEN_ERROR(su_errno(), culprit);
|
||||
|
||||
if (pri->pri_primary->tp_socket != INVALID_SOCKET) {
|
||||
int index = 0;
|
||||
|
||||
Reference in new issue
Block a user