[Freeswitch-svn] [commit] r12750 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/sresolv
FreeSWITCH SVN
mikej at freeswitch.org
Tue Mar 24 08:45:45 PDT 2009
Author: mikej
Date: Tue Mar 24 10:45:45 2009
New Revision: 12750
Log:
Wed Mar 11 11:51:43 CDT 2009 Pekka Pessi <first.last at nokia.com>
* sres_sip.c: silence VC warnings
Ignore-this: dd9d4b774716430cdf429ed86664b109
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres_sip.c
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Tue Mar 24 10:45:45 2009
@@ -1 +1 @@
-Tue Mar 24 10:44:15 CDT 2009
+Tue Mar 24 10:44:50 CDT 2009
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres_sip.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres_sip.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres_sip.c Tue Mar 24 10:45:45 2009
@@ -1440,8 +1440,8 @@
memset(ai, 0, (sizeof ai));
ai->ai_protocol = stp->stp_number;
- ai->ai_addr = memset(su, 0, (sizeof su->su_sin6));
- su->su_len = ai->ai_addrlen = (sizeof su->su_sin6);
+ ai->ai_addr = memset(su, 0, ai->ai_addrlen = (sizeof su->su_sin6));
+ su->su_len = (sizeof su->su_sin6);
su->su_family = ai->ai_family = AF_INET6;
su->su_port = htons(step->sp_port);
@@ -1477,8 +1477,8 @@
memset(ai, 0, (sizeof ai));
ai->ai_protocol = stp->stp_number;
- ai->ai_addr = memset(su, 0, (sizeof su->su_sin));
- su->su_len = ai->ai_addrlen = (sizeof su->su_sin);
+ ai->ai_addr = memset(su, 0, ai->ai_addrlen = (sizeof su->su_sin));
+ su->su_len = (sizeof su->su_sin);
su->su_family = ai->ai_family = AF_INET;
su->su_port = htons(step->sp_port);
@@ -1541,8 +1541,8 @@
memset(ai, 0, (sizeof ai)); (void)buffer;
if (host_is_ip4_address(target)) {
- ai->ai_addr = memset(su, 0, (sizeof su->su_sin));
- su->su_len = ai->ai_addrlen = (sizeof su->su_sin);
+ ai->ai_addr = memset(su, 0, ai->ai_addrlen = (sizeof su->su_sin));
+ su->su_len = (sizeof su->su_sin);
if (su_inet_pton(su->su_family = ai->ai_family = AF_INET,
target, &su->su_sin.sin_addr) <= 0) {
srs->srs_error = SRES_SIP_ERR_BAD_URI;
@@ -1551,8 +1551,8 @@
}
#if SU_HAVE_IN6
else if (host_is_ip6_address(target)) {
- ai->ai_addr = memset(su, 0, (sizeof su->su_sin6));
- su->su_len = ai->ai_addrlen = (sizeof su->su_sin6);
+ ai->ai_addr = memset(su, 0, ai->ai_addrlen = (sizeof su->su_sin6));
+ su->su_len = (sizeof su->su_sin6);
if (su_inet_pton(su->su_family = ai->ai_family = AF_INET6,
target, &su->su_sin6.sin6_addr) <= 0) {
srs->srs_error = SRES_SIP_ERR_BAD_URI;
@@ -1562,8 +1562,8 @@
else if (host_is_ip6_reference(target)) {
size_t len = strlen(target) - 2;
- ai->ai_addr = memset(su, 0, (sizeof su->su_sin6));
- su->su_len = ai->ai_addrlen = (sizeof su->su_sin6);
+ ai->ai_addr = memset(su, 0, ai->ai_addrlen = (sizeof su->su_sin6));
+ su->su_len = (sizeof su->su_sin6);
if (len >= sizeof buffer ||
!memcpy(buffer, target + 1, len) ||
More information about the Freeswitch-svn
mailing list