From 6d301fa3de32d35cd88b113aef720676a4fbc573 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 23 Sep 2008 19:35:36 -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 2d049744..16b7fb3f 100644 --- a/options.c +++ b/options.c @@ -2267,7 +2267,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