summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofafor <rofafor>2009-03-17 18:07:13 +0000
committerrofafor <rofafor>2009-03-17 18:07:13 +0000
commit30920bb8ad8d9f9b2a111e97017320435b9d69f5 (patch)
treec8298bc40e2b0c38077e969c33bbf3a0c781c4d7
parent8b1fd4fe71cd29b0e1106ef1f4b3719dd398e8c2 (diff)
downloadxineliboutput-30920bb8ad8d9f9b2a111e97017320435b9d69f5.tar.gz
xineliboutput-30920bb8ad8d9f9b2a111e97017320435b9d69f5.tar.bz2
Fixed a crash.
-rw-r--r--xine_input_vdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c
index 522b29f2..18bcdbaf 100644
--- a/xine_input_vdr.c
+++ b/xine_input_vdr.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_input_vdr.c,v 1.244 2009-03-07 11:36:59 phintuka Exp $
+ * $Id: xine_input_vdr.c,v 1.245 2009-03-17 18:07:13 rofafor Exp $
*
*/
@@ -3559,7 +3559,7 @@ static int vdr_plugin_read_net_tcp(vdr_input_plugin_t *this)
read_buffer->free_buffer(read_buffer);
read_buffer = NULL;
- if (read_buffer->size && this->fd_data >= 0 && result == XIO_TIMEOUT) {
+ if (this->fd_data >= 0 && result == XIO_TIMEOUT) {
LOGMSG("TCP: Delay too long, disconnecting");
this->control_running = 0;
return XIO_ERROR;