remove line that causes endless reading when doing single image mode

This commit is contained in:
Isaac Connor 2017-02-11 09:57:36 -05:00
parent 8feac1747d
commit d5bb6f3210
1 changed files with 0 additions and 2 deletions

View File

@ -192,8 +192,6 @@ int RemoteCameraHttp::ReadData( Buffer &buffer, int bytes_expected )
if ( total_bytes_to_read == 0 )
{
if( mode == SINGLE_IMAGE )
return( 0 );
// If socket is closed locally, then select will fail, but if it is closed remotely
// then we have an exception on our socket.. but no data.
Debug( 3, "Socket closed remotely" );