From 17697c37fd3603d7e15646c962e58a5313470cee Mon Sep 17 00:00:00 2001 From: yngrtc Date: Mon, 11 Mar 2024 21:28:07 -0700 Subject: [PATCH] fix typo in turn --- rtc-turn/src/client/binding.rs | 2 +- rtc-turn/src/client/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rtc-turn/src/client/binding.rs b/rtc-turn/src/client/binding.rs index 8d86ebb..95cfae4 100644 --- a/rtc-turn/src/client/binding.rs +++ b/rtc-turn/src/client/binding.rs @@ -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; diff --git a/rtc-turn/src/client/mod.rs b/rtc-turn/src/client/mod.rs index 5df3bfd..dcb399b 100644 --- a/rtc-turn/src/client/mod.rs +++ b/rtc-turn/src/client/mod.rs @@ -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.