[Freeswitch-svn] [commit] r11945 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/tport
FreeSWITCH SVN
mikej at freeswitch.org
Thu Feb 12 13:11:15 PST 2009
Author: mikej
Date: Thu Feb 12 15:11:15 2009
New Revision: 11945
Log:
Thu Feb 12 07:17:08 CST 2009 Pekka Pessi <first.last at nokia.com>
* tport.c: return correct errno from tport_connect()
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Thu Feb 12 15:11:15 2009
@@ -1 +1 @@
-Thu Feb 12 15:10:02 CST 2009
+Thu Feb 12 15:11:04 CST 2009
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c Thu Feb 12 15:11:15 2009
@@ -985,7 +985,7 @@
what = "tport_alloc_secondary";
if ((self = tport_alloc_secondary(pri, s, 0, &what)) == NULL)
- TPORT_CONNECT_ERROR(errno, what);
+ TPORT_CONNECT_ERROR(su_errno(), what);
self->tp_conn_orient = 1;
@@ -3383,7 +3383,7 @@
/* Prepare message for sending - i.e., encode it */
if (msg_prepare(msg) < 0) {
- msg_set_errno(msg, errno);
+ msg_set_errno(msg, errno); /* msg parser uses plain errno. Hmph. */
return -1;
}
More information about the Freeswitch-svn
mailing list