# HG changeset patch # User albeu # Date 1013769183 0 # Node ID dfe709923a33a7fc9e081fcd92c980171fbe975e # Parent ad8b41562877ab71fb5d67dcb35718ab6fa66eaf Fixed bug wich interrupt plaintext parsing before real eof diff -r ad8b41562877 -r dfe709923a33 playtreeparser.c --- 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;