mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
netfile.cpp: fix possible compile error
error was: - suggest parentheses around assignment used as truth value - comes with Werror=parentheses
This commit is contained in:
@@ -1632,7 +1632,7 @@ static bool getChunkSizeLine(STREAM_CACHE *scache,char *line,int size)
|
|||||||
char c = 0;
|
char c = 0;
|
||||||
int pos = 0,rn = 0,rnc = 4;
|
int pos = 0,rn = 0,rnc = 4;
|
||||||
int len = 0;
|
int len = 0;
|
||||||
while(len = read(fileno(scache->fd), &c, 1) != 0)
|
while((len = read(fileno(scache->fd), &c, 1)) != 0)
|
||||||
{
|
{
|
||||||
if(pos >= size)
|
if(pos >= size)
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user