version 1.38, 2009/06/11 07:28:57
|
version 1.39, 2012/03/28 10:16:11
|
|
|
const String& userName, | const String& userName, |
Uint32 timeoutSeconds) | Uint32 timeoutSeconds) |
{ | { |
|
struct ConfigProperty* configProperty = _lookupConfigProperty(name); |
|
|
// | // |
// make sure the property is dynamic before updating the value. | // make sure the property is dynamic before updating the value. |
// | // |
if (!isDynamic(name)) |
if (configProperty->dynamic != IS_DYNAMIC) |
{ | { |
throw NonDynamicConfigProperty(name); | throw NonDynamicConfigProperty(name); |
} | } |
| |
struct ConfigProperty* configProperty = _lookupConfigProperty(name); |
|
configProperty->currentValue = value; | configProperty->currentValue = value; |
} | } |
| |