diff playtreeparser.c @ 4714:dfe709923a33

Fixed bug wich interrupt plaintext parsing before real eof
author albeu
date Fri, 15 Feb 2002 10:33:03 +0000
parents 7d24c9bd2ae5
children 4b728967bd77
line wrap: on
line diff
--- a/playtreeparser.c	Fri Feb 15 01:00:26 2002 +0000
+++ b/playtreeparser.c	Fri Feb 15 10:33:03 2002 +0000
@@ -160,8 +160,7 @@
       if(r < 0) {
 	mp_msg(MSGT_PLAYTREE,MSGL_ERR,"Can't read from stream r=%d\n",r);
 	return NULL;
-      } else if(r == 0)
-	eof = 1;
+      }
     p->buffer_end += r;
     p->buffer[p->buffer_end] = '\0';
     } else eof = 1;