libgnomevfs2-mythtv/modules/mythtv-method.c
branchtrunk
changeset 406 131040a49e9f
parent 372 36b50b1902c5
child 408 7d529c58a88f
     1.1 --- a/libgnomevfs2-mythtv/modules/mythtv-method.c	Thu Feb 15 22:45:16 2007 +0000
     1.2 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c	Thu Mar 08 23:42:25 2007 +0000
     1.3 @@ -307,7 +307,7 @@
     1.4  						      tmp_buffer,
     1.5  						      buffer_size, TRUE);
     1.6  
     1.7 -			if (!myth_handle->is_livetv && len < 0) {
     1.8 +			if (!myth_handle->is_livetv && len <= 0) {
     1.9  				g_byte_array_free (tmp_buffer, TRUE);
    1.10  				g_debug ("Fail to read bytes");
    1.11  				return GNOME_VFS_ERROR_IO;