Skip to content

Commit

Permalink
fix(handshake): use correct field of data struct
Browse files Browse the repository at this point in the history
  • Loading branch information
anweisen committed Feb 4, 2024
1 parent 181fde7 commit 2e6378e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handshake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ pub async fn handle_client(mut stream: TcpStream, composed_configs: ComposedConf

// send response packet to stream & close stream
match send_flush_close(&packet, &mut stream).await {
Ok(_) => trace!("Response to {:?} sent successfully", handshake_data.4),
Ok(_) => trace!("Response to {:?} sent successfully", handshake_data.next_state),
Err(err) => error!("Could not send response: {:?}", err)
}

Expand Down

0 comments on commit 2e6378e

Please sign in to comment.