Skip to content

Commit

Permalink
Update stun_codec to v0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Feb 23, 2024
1 parent 2d47498 commit 02daa3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fibers_timeout_queue = "0.1"
fibers_transport = "0.1.3"
futures = "0.1"
rand = "0.8"
stun_codec = "0.2"
stun_codec = "0.3"
trackable = "1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ impl<A: Attribute> ErrorResponse<A> {
request.method(),
request.transaction_id(),
);
message.add_attribute(error.into());
message.add_attribute(error);
ErrorResponse(message)
}

Expand Down

0 comments on commit 02daa3d

Please sign in to comment.