Skip to content

Commit

Permalink
fix typo in turn
Browse files Browse the repository at this point in the history
  • Loading branch information
yngrtc committed Mar 12, 2024
1 parent a1a04d3 commit 17697c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rtc-turn/src/client/binding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::collections::HashMap;
use std::net::SocketAddr;
use std::time::Instant;

// Chanel number:
// Channel number:
// 0x4000 through 0x7FFF: These values are the allowed channel
// numbers (16,383 possible values).
const MIN_CHANNEL_NUMBER: u16 = 0x4000;
Expand Down
2 changes: 1 addition & 1 deletion rtc-turn/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ impl Client {
// handle_inbound handles data received.
// This method handles incoming packet demultiplex it by the source address
// and the types of the message.
// This return a booleen (handled or not) and if there was an error.
// This return Ok(handled or not) and if there was an error.
// Caller should check if the packet was handled by this client or not.
// If not handled, it is assumed that the packet is application data.
// If an error is returned, the caller should discard the packet regardless.
Expand Down

0 comments on commit 17697c3

Please sign in to comment.