From: Anthony Minessale Date: Mon, 1 Aug 2011 15:01:50 +0000 (-0500) Subject: fix mac build X-Git-Tag: v1.2-rc1~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed2384757454aad962276760f548780ab05ca2f3;p=thirdparty%2Ffreeswitch.git fix mac build --- diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 9c24253418..02a17b54a0 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Sun Jul 31 18:36:02 CDT 2011 +Mon Aug 1 10:01:41 CDT 2011 diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c index 7694910165..a3e7532c96 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c +++ b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c @@ -347,9 +347,9 @@ void tport_capt_msg(tport_t const *self, msg_t *msg, size_t n, int buflen = 0, error; su_sockaddr_t const *su, *su_self; struct hep_hdr hep_header; - struct hep_iphdr hep_ipheader = {0,0,0,0,0,0}; + struct hep_iphdr hep_ipheader = {{0}}; #if SU_HAVE_IN6 - struct hep_ip6hdr hep_ip6header = {0,0,0,0,0,0}; + struct hep_ip6hdr hep_ip6header = {{{{0}}}}; #endif int eth_frame_len = 8000; char* buffer;