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
- added some notes about encryption and authentication to the man
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
15c56c8
..
4c2e984
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-872,7
+872,7
@@
char *f_name(struct file_struct *f)
if (f->dirname) {
sprintf(p, "%s/%s", f->dirname, f->basename);
} else {
if (f->dirname) {
sprintf(p, "%s/%s", f->dirname, f->basename);
} else {
- str
cpy(p, f->basename
);
+ str
lcpy(p, f->basename, MAXPATHLEN-1
);
}
return p;
}
return p;