netfile.cpp: fix possible compile error

error was:
 - suggest parentheses around assignment used as truth value
 - comes with Werror=parentheses


Origin commit data
------------------
Branch: ni/coolstream
Commit: 646ef1ba04
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-18 (Sat, 18 Jan 2020)



------------------
This commit was generated by Migit
This commit is contained in:
2020-01-18 00:10:20 +01:00
committed by vanhofen
parent 8a32459afe
commit 1fec00380f

View File

@@ -1632,7 +1632,7 @@ static bool getChunkSizeLine(STREAM_CACHE *scache,char *line,int size)
char c = 0;
int pos = 0,rn = 0,rnc = 4;
int len = 0;
while(len = read(fileno(scache->fd), &c, 1) != 0)
while((len = read(fileno(scache->fd), &c, 1)) != 0)
{
if(pos >= size)
break;