added why2_read_socket invalid size TODO
This commit is contained in:
parent
ab46803a91
commit
cbcfaaae92
@ -182,6 +182,8 @@ char *why2_read_socket(int socket)
|
||||
//READ FINAL MESSAGE
|
||||
if (recv(socket, content_buffer, content_size, 0) != content_size) fprintf(stderr, "Socket probably read wrongly!\n");
|
||||
|
||||
//TODO: Fix size [first two indexes]
|
||||
|
||||
return content_buffer;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user