From ac68345a344518b825e4d88e0c72e857995e5e44 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 26 Sep 2008 21:09:41 -0700 Subject: [PATCH] Don't send a bogus "-" option to an older server if there were no short options specified. --- options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/options.c b/options.c index aebfdf86..71fda24f 100644 --- a/options.c +++ b/options.c @@ -1840,7 +1840,8 @@ void server_options(char **args, int *argc_p) argstr[x] = '\0'; - args[ac++] = argstr; + if (x > 1) + args[ac++] = argstr; #ifdef ICONV_OPTION if (iconv_opt) { -- 2.34.1