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
Another try at socklen_t: just check for it, and otherwise use int.
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
cda3508
..
bb6149e
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-150,7
+150,7
@@
int readlink_stat(const char *Path, STRUCT_STAT *Buffer, char *Linkbuf)
}
if (S_ISLNK(Buffer->st_mode)) {
int l;
- if ((l = readlink(
Path,Linkbuf,MAXPATHLEN-1))
== -1) {
+ if ((l = readlink(
(char *) Path, Linkbuf, MAXPATHLEN-1))
== -1) {
return -1;
}
Linkbuf[l] = 0;