summaryrefslogtreecommitdiffstats
path: root/common/config_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/config_file.c')
-rw-r--r--common/config_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/config_file.c b/common/config_file.c
index a144ae6..126838f 100644
--- a/common/config_file.c
+++ b/common/config_file.c
@@ -1599,7 +1599,7 @@ static bool readConfig(const char *file, Options *opts, Options *defOpts)
#ifdef __cplusplus
if(file.isEmpty())
{
- const char *env=getenv("TQTCURVE_CONFIG_FILE");
+ const char *env=getenv("QTCURVE_CONFIG_FILE");
if(NULL!=env)
return readConfig(env, opts, defOpts);
@@ -1620,7 +1620,7 @@ static bool readConfig(const char *file, Options *opts, Options *defOpts)
#else
if(!file)
{
- const char *env=getenv("TQTCURVE_CONFIG_FILE");
+ const char *env=getenv("QTCURVE_CONFIG_FILE");
if(NULL!=env)
return readConfig(env, opts, defOpts);