Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c36a13
)
handle the case of an empty file list in get_local_name
author
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 1999 12:30:36 +0000
(12:30 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 1999 12:30:36 +0000
(12:30 +0000)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
35f6400
..
db9201a
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-208,7
+208,7
@@
static char *get_local_name(struct file_list *flist,char *name)
return name;
}
- if (flist->count
=
= 1)
+ if (flist->count
<
= 1)
return name;
if (do_mkdir(name,0777 & ~orig_umask) != 0) {