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 bug in receiving 32kB compressible files
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
80f18e4
..
59e451b
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-424,7
+424,10
@@
struct file_list *send_file_list(int f,int argc,char *argv[])
p = strrchr(fname,'/');
if (p) {
*p = 0;
- dir = fname;
+ if (p == fname)
+ dir = "/";
+ else
+ dir = fname;
fname = p+1;
}
if (!*fname)