X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/cca034e58b00be2f53f9145957346bcd3e451c45..c0dadbae5e2cc55cdcbe4a7fe9e1564385a9f8af:/lib/uaudio-rtp.c?ds=inline diff --git a/lib/uaudio-rtp.c b/lib/uaudio-rtp.c index 7135420..b41bdda 100644 --- a/lib/uaudio-rtp.c +++ b/lib/uaudio-rtp.c @@ -485,7 +485,7 @@ int rtp_add_recipient(const struct sockaddr_storage *sa) { rc = -1; else { r = xmalloc(sizeof *r); - memcpy(&r->sa, sa, sizeof sa); + memcpy(&r->sa, sa, sizeof *sa); r->next = rtp_recipient_list; rtp_recipient_list = r; rc = 0;