diff options
author | monty@hundin.mysql.fi <> | 2002-10-20 09:01:15 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-10-20 09:01:15 +0300 |
commit | 801eb822437b03b5049a5d16b0b41860af515d26 (patch) | |
tree | 5cd75e3909773de7556bbac8646898ec622474bf | |
parent | 87351da2040a11613d9f7b9aef05cab945b5ee2f (diff) | |
download | mariadb-git-801eb822437b03b5049a5d16b0b41860af515d26.tar.gz |
Fixed usage of putenv() on windows (in not normally used code)
-rw-r--r-- | mysys/my_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_init.c b/mysys/my_init.c index 31e49731c94..3a1935d4267 100644 --- a/mysys/my_init.c +++ b/mysys/my_init.c @@ -242,7 +242,7 @@ static void my_win_init(void) /* Inserisce i dati come variabili d'ambiente */ my_env=strdup(EnvString); /* variable for putenv must be allocated ! */ - putenv(EnvString) ; + putenv(my_env) ; dimNameValueBuffer = dimName ; dimDataValueBuffer = dimData ; |