Skip to content

Commit e819ab3

Browse files
committed
fix: add leading zero to fingerprint attribute when required
1 parent e5d21a5 commit e819ab3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

media/sdp-types/src/attributes/fingerprint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ impl fmt::Display for Fingerprint {
8787
let mut iter = self.fingerprint.iter();
8888

8989
if let Some(b) = iter.next() {
90-
write!(f, "{b:2X}")?;
90+
write!(f, "{b:02X}")?;
9191

9292
for b in iter {
9393
write!(f, ":{b:02X}")?;

0 commit comments

Comments
 (0)