summaryrefslogtreecommitdiff
path: root/data/raop-play/sa-ss_family.diff
blob: 5eb523ed849779aad9c8700c7de0d2442b7dd816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ru raop_play-0.5.1/rendezvous/mDNSPosix.c raop_play-0.5.1+iPhone/rendezvous/mDNSPosix.c
--- raop_play-0.5.1/rendezvous/mDNSPosix.c	2005-12-16 14:17:02.000000000 +0000
+++ raop_play-0.5.1+iPhone/rendezvous/mDNSPosix.c	2008-12-06 04:00:32.000000000 +0000
@@ -303,7 +303,7 @@
 	err = 0;
 	thisIntf = (PosixNetworkInterface *)(InterfaceID);
 	if (dst->type == mDNSAddrType_IPv4)
-		err = sendto(thisIntf->multicastSocket, msg, (char*)end - (char*)msg, 0, (struct sockaddr *)&to, GET_SA_LEN(to));
+		err = sendto(thisIntf->multicastSocket, msg, (char*)end - (char*)msg, 0, (struct sockaddr *)&to, GET_SA_LEN(*(struct sockaddr *)&to));
 
 #ifdef mDNSIPv6Support
 	else if (dst->type == mDNSAddrType_IPv6)