Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed the sending of large files with older rsync versions by
[rsync/rsync.git]
/
lib
/
getaddrinfo.c
diff --git
a/lib/getaddrinfo.c
b/lib/getaddrinfo.c
index
838e708
..
0261f78
100644
(file)
--- a/
lib/getaddrinfo.c
+++ b/
lib/getaddrinfo.c
@@
-113,7
+113,7
@@
static char *get_canon_name_from_addr(struct in_addr ip,
int *perr)
{
return canon_name_from_hostent(
int *perr)
{
return canon_name_from_hostent(
- gethostbyaddr(
&ip, sizeof(ip)
, AF_INET),
+ gethostbyaddr(
(void *)&ip, sizeof ip
, AF_INET),
perr);
}
perr);
}