Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Jun 17, 2024
1 parent cc6dee5 commit aad5078
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/secure_tunneling.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,9 +591,7 @@ static void s_aws_secure_tunnel_on_stream_start_received(
* being used this session
*/
if (secure_tunnel->connections->protocol_version == 0) {

uint8_t message_protocol_version = s_aws_secure_tunnel_message_min_protocol_check(message_view);
secure_tunnel->connections->protocol_version = message_protocol_version;
secure_tunnel->connections->protocol_version = s_aws_secure_tunnel_message_min_protocol_check(message_view);
AWS_LOGF_INFO(
AWS_LS_IOTDEVICE_SECURE_TUNNELING,
"id=%p: Secure tunnel client Protocol set to V%d based on received STREAM START",
Expand Down

0 comments on commit aad5078

Please sign in to comment.