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
- check for sys/select.h
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
8ca252f
..
3cbf5f8
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-294,6
+294,8
@@
void do_server_sender(int argc,char *argv[])
if (strcmp(dir,".")) {
int l = strlen(dir);
+ if (strcmp(dir,"/") == 0)
+ l = 0;
for (i=0;i<argc;i++)
argv[i] += l+1;
}