Misc: Fix leftover debug print put_str16 -> str16
This commit is contained in:
parent
752a2f3880
commit
f096f50054
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ impl<'a, 'b> TLVWriter<'a, 'b> {
|
|||
|
||||
pub fn str8(&mut self, tag_type: TagType, data: &[u8]) -> Result<(), Error> {
|
||||
if data.len() > 256 {
|
||||
error!("use put_str16() instead");
|
||||
error!("use str16() instead");
|
||||
return Err(Error::Invalid);
|
||||
}
|
||||
self.put_control_tag(tag_type, WriteElementType::Str8l)?;
|
||||
|
|
Loading…
Add table
Reference in a new issue