xrdpvr/xrdpvr.c: remove redundant condition
[xrdpvr/xrdpvr.c:918] -> [xrdpvr/xrdpvr.c:926]: (warning) Identical condition 'rv==0', second condition is always false
This commit is contained in:
parent
de5a23325f
commit
7c959156a9
@ -923,11 +923,6 @@ xrdpvr_write_to_client(void *channel, STREAM *s)
|
|||||||
index += bytes_written;
|
index += bytes_written;
|
||||||
bytes_to_send -= bytes_written;
|
bytes_to_send -= bytes_written;
|
||||||
|
|
||||||
if ((rv == 0) && (bytes_to_send == 0))
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
usleep(1000 * 3);
|
usleep(1000 * 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user