From 5b0678232fcb576d7e7aa8f53fcfeec757507d42 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Jan 2005 19:57:26 +0400 Subject: --defaults-extra-file bug fixed mysys/default.c: silly mistake happened during the merge --- mysys/default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysys') 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) { -- cgit v1.2.1