From c64897dbe819ad5d72b79b02b1f294c6138146f4 Mon Sep 17 00:00:00 2001 From: "hf@deer.(none)" <> Date: Wed, 12 Jan 2005 19:57:26 +0400 Subject: [PATCH] --defaults-extra-file bug fixed --- mysys/default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysys/default.c b/mysys/default.c index 0b3f830d476..73dca3b6c2f 100644 --- a/mysys/default.c +++ b/mysys/default.c @@ -119,7 +119,7 @@ static int search_files(const char *conf_file, int *argc, char ***argv, if (defaults_extra_file) defaults_extra_file= strchr(defaults_extra_file,'=')+1; - args_used+= (forced_default_file ? 1 : 0) + (defaults_extra_file ? 1 : 0); + (*args_used)+= (forced_default_file ? 1 : 0) + (defaults_extra_file ? 1 : 0); if (forced_default_file) {