Compare commits

..

No commits in common. "5325e27821daf39e8458951b6ef549bf0b35fca1" and "81b1cc1083870d693ebe22a814e82880a1dd88d2" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ bool azrp_queue_command(void *command, size_t size, int fragment, int count)
{
if(commands_count + count > AZRP_MAX_COMMANDS)
return false;
if(commands_length + size >= sizeof commands_data)
if(commands_length + size >= sizeof command_data)
return false;
uint8_t *dst = commands_data + commands_length;