diff options
Diffstat (limited to 'common/rfb/Configuration.h')
-rw-r--r-- | common/rfb/Configuration.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/Configuration.h b/common/rfb/Configuration.h index 35e31fc0..842adc9c 100644 --- a/common/rfb/Configuration.h +++ b/common/rfb/Configuration.h @@ -57,7 +57,7 @@ namespace rfb { class Configuration { public: // - Create a new Configuration object - Configuration(const char* name, Configuration* attachToGroup=0); + Configuration(const char* name_) : name(strDup(name_)), head(0), _next(0) {} // - Return the buffer containing the Configuration's name const char* getName() const { return name.buf; } |