From ed2384757454aad962276760f548780ab05ca2f3 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 1 Aug 2011 10:01:50 -0500 Subject: [PATCH] fix mac build --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;