chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca034e
)
uaudio: newer compiler spotted a short memcpy
author
Richard Kettlewell
<rjk@terraraq.org.uk>
Sun, 10 Nov 2013 14:04:01 +0000
(14:04 +0000)
committer
Richard Kettlewell
<rjk@terraraq.org.uk>
Sun, 10 Nov 2013 14:04:18 +0000
(14:04 +0000)
Bah
lib/uaudio-rtp.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/uaudio-rtp.c
b/lib/uaudio-rtp.c
index 71354205ff998c8ba8560076baa57ea2d57604fe..b41bdda5366a56f4b9e04b91da489e5c8ae32267 100644
(file)
--- 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;