Skip to content

vlc-3.0.0/modules/access/satip.c:413]: (style) Suspicious condition

vlc-3.0.0/modules/access/satip.c:413]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.

Source code is

while ((len = recv(sys->tcp_sock, discard_buf, sizeof(discard_buf), 0) > 0));

Maybe better code:

while ((len = recv(sys->tcp_sock, discard_buf, sizeof(discard_buf), 0)) > 0);

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information