diff options
author | Andrew Tridgell <tridge@samba.org> | 1999-04-06 12:30:36 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1999-04-06 12:30:36 +0000 |
commit | cec8aa7724d6d93d62ff60a264d1c800a580ba9b (patch) | |
tree | 96d3c28616925d9d049fc3f98775114c4b99b0cc /main.c | |
parent | 4c36a13ef2b76608c3647f7752c5a03db58ba582 (diff) | |
download | rsync-cec8aa7724d6d93d62ff60a264d1c800a580ba9b.tar.gz |
handle the case of an empty file list in get_local_name
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |