Bugfix: unnecessary struct container
This commit is contained in:
parent
bb275cd50a
commit
1392810a6c
1 changed files with 0 additions and 4 deletions
|
@ -693,13 +693,9 @@ impl ResumeSubscribeReq {
|
||||||
|
|
||||||
let mut tw = TLVWriter::new(tx.get_writebuf()?);
|
let mut tw = TLVWriter::new(tx.get_writebuf()?);
|
||||||
|
|
||||||
tw.start_struct(TagType::Anonymous)?;
|
|
||||||
|
|
||||||
let resp = SubscribeResp::new(self.subscription_id, 40);
|
let resp = SubscribeResp::new(self.subscription_id, 40);
|
||||||
resp.to_tlv(&mut tw, TagType::Anonymous)?;
|
resp.to_tlv(&mut tw, TagType::Anonymous)?;
|
||||||
|
|
||||||
tw.end_container()?;
|
|
||||||
|
|
||||||
Ok(false)
|
Ok(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue