[Freeswitch-svn] [commit] r11886 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su
FreeSWITCH SVN
mikej at freeswitch.org
Wed Feb 11 10:58:24 PST 2009
Author: mikej
Date: Wed Feb 11 12:58:24 2009
New Revision: 11886
Log:
fix build error on bsd
Modified:
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_port.h
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_port.h
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_port.h (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_port.h Wed Feb 11 12:58:24 2009
@@ -420,9 +420,10 @@
{
su_virtual_port_t *base = (su_virtual_port_t *)self;
- if (base == NULL)
- return (intptr_t)(errno = EFAULT), NULL;
-
+ if (base == NULL) {
+ errno = EFAULT;
+ return NULL;
+ }
return base->sup_vtable->su_port_deferrable(self);
}
More information about the Freeswitch-svn
mailing list