Skip to content

Commit

Permalink
argh
Browse files Browse the repository at this point in the history
  • Loading branch information
gafferongames committed Sep 17, 2024
1 parent 7290291 commit d1afa27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ void netcode_socket_set_qos( struct netcode_socket_t * socket, struct netcode_ad
if ( netcode_set_socket_codepoint( socket->handle, QOSTrafficTypeAudioVideo, 0, (struct sockaddr*)&addr ) != 0 )
{
netcode_printf( NETCODE_LOG_LEVEL_ERROR, "error: failed to enable packet tagging (ipv6)\n" );
netcode_socket_destroy( s );
netcode_socket_destroy( socket );
return NETCODE_SOCKET_ERROR_ENABLE_PACKET_TAGGING_FAILED;
}
}
Expand All @@ -772,7 +772,7 @@ void netcode_socket_set_qos( struct netcode_socket_t * socket, struct netcode_ad
if ( netcode_set_socket_codepoint( socket->handle, QOSTrafficTypeAudioVideo, 0, (struct sockaddr*)&addr ) != 0 )
{
netcode_printf( NETCODE_LOG_LEVEL_ERROR, "error: failed to enable packet tagging (ipv4)\n" );
netcode_socket_destroy( s );
netcode_socket_destroy( socket );
return NETCODE_SOCKET_ERROR_ENABLE_PACKET_TAGGING_FAILED;
}
}
Expand Down

0 comments on commit d1afa27

Please sign in to comment.