# HG changeset patch # User rosfran # Date 1173397345 0 # Node ID 131040a49e9f455327509ec3e79264ddb0e36d0f # Parent aff8c034146219ded6a705f8eeececbd5d8d43d9 [svn r411] Fixes the bug that makes a recorded MythTV movie REQUEST_BLOCK message to recurse indefinitely. diff -r aff8c0341462 -r 131040a49e9f gmyth/src/gmyth_file_transfer.c --- a/gmyth/src/gmyth_file_transfer.c Thu Mar 08 23:41:10 2007 +0000 +++ b/gmyth/src/gmyth_file_transfer.c Thu Mar 08 23:42:25 2007 +0000 @@ -654,7 +654,7 @@ } } /* while - iterates through bytes until reaches the end of stream */ - if ( bytes_sent == 0 && max_tries == 0 ) + if ( read_unlimited && ( bytes_sent == 0 ) && ( max_tries == 0 ) ) { gmyth_debug( "Trying to move to the next program chain..." ); transfer->priv = GMYTH_FILE_TRANSFER_GET_PRIVATE(transfer);