UDP proxy: Fix bug in freeing delayed messages

This commit is contained in:
Hanno Becker 2018-08-23 13:15:36 +01:00
parent 65dc885a3b
commit 12b72c182e

View file

@ -562,7 +562,7 @@ static packet prev[MAX_DELAYED_MSG];
void clear_pending( void )
{
memset( &prev, 0, sizeof( packet ) );
memset( &prev, 0, sizeof( prev ) );
prev_len = 0;
}