aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config-file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-file.cpp b/config-file.cpp
index 36af37eb1d..7ebd38447d 100644
--- a/config-file.cpp
+++ b/config-file.cpp
@@ -249,7 +249,7 @@ const char *Config::set(const char *key, const char *value, const char *d)
ndomains++;
hash =
(hashconfig **) realloc(hash, ndomains * sizeof(hashconfig *));
- hash[ndomains - 1] = new hashconfig(domain);
+ hash[ndomains - 1] = new hashconfig(d);
return hash[ndomains - 1]->set(key, value);
}
@@ -273,7 +273,7 @@ const char *Config::set(const char *key, int value_i, const char *d)
ndomains++;
hash =
(hashconfig **) realloc(hash, ndomains * sizeof(hashconfig *));
- hash[ndomains - 1] = new hashconfig(domain);
+ hash[ndomains - 1] = new hashconfig(d);
return hash[ndomains - 1]->set(key, value);
}