upgrade_net: fixed uninitialised variable

This commit is contained in:
Evgeny Grin (Karlson2k)
2024-09-30 03:38:12 +02:00
parent 5dda38e084
commit efd3856cf4
+2
View File
@@ -151,6 +151,8 @@ MHD_upgraded_recv (struct MHD_UpgradeHandle *MHD_RESTRICT urh,
c->read_buffer = NULL;
}
}
else
last_block_size = 0;
mhd_mutex_unlock_chk (&(urh->lock));
*received_size = last_block_size;
if (recv_buf_size == last_block_size)