From 46c3eec39a0c156e9aec90bd42c933655bf8b4b8 Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 24 Feb 2009 14:43:31 +0000 Subject: [PATCH] Fri Feb 13 09:41:52 CST 2009 Pekka Pessi * su.h: define su_family via struct sockaddr git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12260 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 3f2a8f213c..00f62a4bd1 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Thu Feb 12 15:29:54 CST 2009 +Tue Feb 24 08:43:18 CST 2009 diff --git a/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su.h b/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su.h index af0f0122b6..a1b2813d2d 100644 --- a/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su.h +++ b/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su.h @@ -163,11 +163,10 @@ union su_sockaddr_u { short su_dummy; /**< Dummy member to initialize */ #if SU_HAVE_SOCKADDR_SA_LEN #define su_len su_sa.sa_len -#define su_family su_sa.sa_family #else #define su_len su_array[0] - short su_family; #endif +#define su_family su_sa.sa_family #define su_port su_sin.sin_port #endif