- fixed: MmsValue_printToBuffer fails with empty MMS_OCTET_STRING (#227)

pull/244/head
Michael Zillgith 5 years ago
parent cc88bea491
commit cdf371e92e

@ -2007,6 +2007,9 @@ MmsValue_printToBuffer(const MmsValue* self, char* buffer, int bufferSize)
return buffer;
}
if (bufferSize)
buffer[0] = 0;
switch (MmsValue_getType(self))
{
case MMS_STRUCTURE:

Loading…
Cancel
Save