added infinite loop todo

i mean yk, it works but its shit
This commit is contained in:
Václav Šmejkal 2024-08-29 23:35:46 +02:00
parent af233c44ef
commit 2d5a18d667
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -161,7 +161,7 @@ char *read_socket_raw(int socket)
{
//FIND THE SENT SIZE
content_size = 0;
if (ioctl(socket, FIONREAD, &content_size) < 0 || content_size <= 0) continue;
if (ioctl(socket, FIONREAD, &content_size) < 0 || content_size <= 0) continue; //TODO: Infinite loop
//ALLOCATE
content_buffer = why2_realloc(content_buffer, content_size + 1);