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:
af2dea6
)
Don't send a bogus "-" option to an older server if there were
author
Wayne Davison
<wayned@samba.org>
Wed, 24 Sep 2008 02:35:36 +0000
(19:35 -0700)
committer
Wayne Davison
<wayned@samba.org>
Wed, 24 Sep 2008 02:35:36 +0000
(19:35 -0700)
no short options specified.
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
2d04974
..
16b7fb3
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-2267,7
+2267,8
@@
void server_options(char **args, int *argc_p)
argstr[x] = '\0';
argstr[x] = '\0';
- args[ac++] = argstr;
+ if (x > 1)
+ args[ac++] = argstr;
#ifdef ICONV_OPTION
if (iconv_opt) {
#ifdef ICONV_OPTION
if (iconv_opt) {