diff --git a/src/app/Dictionary.h b/src/app/Dictionary.h index 42b69d7..45436e5 100644 --- a/src/app/Dictionary.h +++ b/src/app/Dictionary.h @@ -242,11 +242,11 @@ public: _next = NULL; } - const char *stringValue() const {return _value == NULL ? "" : _value->toString();} + const char *stringValue() const {return _value == NULL ? NULL : _value->toString();} const char *getParameter(const unsigned int index) { unsigned int position(0); - if(isListEmpty(_head->_next))return ""; + if(isListEmpty(_head->_next))return NULL; Dictionary *cursor = _head->_next; @@ -257,7 +257,7 @@ public: cursor = cursor->_next; } - return ""; + return NULL; } protected: Dictionary(const char *parameter, T *value) : Dictionary()