From: Mke Brady Date: Sun, 29 Nov 2015 09:18:18 +0000 (+0000) Subject: Fix typo which could have become a bug X-Git-Tag: 2.7.4~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de6fee22d76f57c099f1dac0b56a281ae77663ac;p=thirdparty%2Fshairport-sync.git Fix typo which could have become a bug --- diff --git a/rtp.c b/rtp.c index fcffd860..78a19a36 100644 --- a/rtp.c +++ b/rtp.c @@ -691,7 +691,7 @@ void rtp_request_resend(seq_t first, uint32_t count) { *(unsigned short *)(req + 6) = htons(count); // count socklen_t msgsize = sizeof(struct sockaddr_in); #ifdef AF_INET6 - if (rtp_client_timing_socket.SAFAMILY == AF_INET6) { + if (rtp_client_control_socket.SAFAMILY == AF_INET6) { msgsize = sizeof(struct sockaddr_in6); } #endif