mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-11 15:41:00 +02:00
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:
@@ -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