Skip to content

Commit

Permalink
Fix variable name on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
VirxEC committed May 20, 2024
1 parent b459584 commit df5b197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ fn start_udp_recv_handler(socket: UdpSocket, commands: &mut Commands) {
UdpPacketTypes::Render => {
#[cfg(windows)]
{
while let Err(e) = socket.peek_from(&mut initial_state_buffer) {
while let Err(e) = socket.peek_from(&mut initial_render_buffer) {
if let Some(code) = e.raw_os_error() {
if code == 10040 {
break;
Expand Down

0 comments on commit df5b197

Please sign in to comment.