chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
disorder.h: more consistent approach to function attributes
[disorder]
/
lib
/
uaudio-rtp.c
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;