diff --git a/libs/yasn/yateasn.h b/libs/yasn/yateasn.h index 46a52b84..d78d7689 100644 --- a/libs/yasn/yateasn.h +++ b/libs/yasn/yateasn.h @@ -61,7 +61,7 @@ class ASNError; * Helper class for operations with octet strings. Helps with conversions from String to/from DataBlock * @short Helper class for operations with octet strings */ -class OctetString : public DataBlock +class YASN_API OctetString : public DataBlock { public: /** @@ -90,7 +90,7 @@ public: * @return Hexified string */ inline const String toHexString() const - { + { String str; str = str.hexify(data(),length()); return str; @@ -100,7 +100,7 @@ public: * @return The DataBlock built from the given hexified string */ inline DataBlock& fromHexString(const String& value) - { + { unHexify(value,value.length()); return *this; } diff --git a/libs/yrtp/yatertp.h b/libs/yrtp/yatertp.h index e4d29ce3..0cdcee89 100644 --- a/libs/yrtp/yatertp.h +++ b/libs/yrtp/yatertp.h @@ -680,7 +680,7 @@ public: /** * Retrieve the statistical data from this receiver in a NamedList. Reset all the data. - * @param NamedList to populate with the values for different counters + * @param stat NamedList to populate with the values for different counters */ virtual void stats(NamedList& stat) const; @@ -813,7 +813,7 @@ public: /** * Retrieve the statistical data from this receiver in a NamedList. Reset all the data. - * @param NamedList to populate with the values for different counters + * @param stat NamedList to populate with the values for different counters */ virtual void stats(NamedList& stat) const;