| commit | ac68345a344518b825e4d88e0c72e857995e5e44 | [log] [tgz] |
|---|---|---|
| author | Wayne Davison <wayned@samba.org> | Fri Sep 26 21:09:41 2008 -0700 |
| committer | Wayne Davison <wayned@samba.org> | Fri Sep 26 21:09:41 2008 -0700 |
| tree | 4ee8ad39940f57ea334b7af808cfa7452b4d9aa4 | |
| parent | 6a9ade2dedca8334b83fd8c7293a4b6022ed7d6f [diff] [blame] |
Don't send a bogus "-" option to an older server if there were no short options specified.
diff --git a/options.c b/options.c index aebfdf8..71fda24 100644 --- a/options.c +++ b/options.c
@@ -1840,7 +1840,8 @@ argstr[x] = '\0'; - args[ac++] = argstr; + if (x > 1) + args[ac++] = argstr; #ifdef ICONV_OPTION if (iconv_opt) {