[AGENT++] Possible bug in OctetStr::clear?

Jochen Katz katz at agentpp.com
Fri Nov 5 22:50:34 CET 2004


Hi,

> I would think that OctetStr::clear() should also reset the length,

me too ;-)

> but we will have to check if the clear() method is used anywhere
> with its current meaning. I think a fix will be available on Monday
> or Tuesday next week.

octet.h states:
   /**
    * Null out the contents of the string. The string will be empty
    * after calling this method
    */

The next release will set the len to zero.

Regards,
   Jochen



More information about the AGENTPP mailing list