diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2023-07-06 13:50:17 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-07-06 13:50:17 +0300 |
commit | 58adebb325bd3340b6d7e6e5ae84f8099ae21ff6 (patch) | |
tree | cdef45db17cbd8c3ceb6214cee902d35a02fea96 /generic | |
parent | 983f990fe9258d05da5f08751888232c8cc2d22a (diff) |
Fix a couple of typos
Diffstat (limited to 'generic')
-rw-r--r-- | generic/threadshare/src/udpsink/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/threadshare/src/udpsink/imp.rs b/generic/threadshare/src/udpsink/imp.rs index 138d15e9c..252030862 100644 --- a/generic/threadshare/src/udpsink/imp.rs +++ b/generic/threadshare/src/udpsink/imp.rs @@ -1082,8 +1082,8 @@ impl ObjectImpl for UdpSink { .unwrap_or_else(|| "".into()); let clients = clients.split(',').filter_map(|client| { - let mut splited = client.splitn(2, ':'); - if let Some((addr, port)) = splited.next().zip(splited.next()) { + let mut split = client.splitn(2, ':'); + if let Some((addr, port)) = split.next().zip(split.next()) { match port.parse::<i32>() { Ok(port) => match self.try_into_socket_addr(addr, port) { Ok(socket_addr) => Some(socket_addr), |