]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix typo which could have become a bug
authorMke Brady <mikebrady@eircom.net>
Sun, 29 Nov 2015 09:18:18 +0000 (09:18 +0000)
committerMke Brady <mikebrady@eircom.net>
Sun, 29 Nov 2015 09:18:18 +0000 (09:18 +0000)
rtp.c

diff --git a/rtp.c b/rtp.c
index fcffd86058cd3e276a7ca450094eb95c4b2e4acf..78a19a361448e925bb793de6245e1d8558d9b04f 100644 (file)
--- 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