diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-10-23 23:15:36 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-10-23 23:15:36 +0100 |
commit | 7f0cb19782f4ac1de0f35bf3321be03b30a7179c (patch) | |
tree | af7539b3eb33846dffe4645d52aa00a0720ed82e /src/xine-utils | |
parent | 9b6900307db58fd1adcc1311e1938f74225bc549 (diff) | |
parent | 063fce405f6dd99f78040a0087ab4c602c5b96fc (diff) | |
download | xine-lib-7f0cb19782f4ac1de0f35bf3321be03b30a7179c.tar.gz xine-lib-7f0cb19782f4ac1de0f35bf3321be03b30a7179c.tar.bz2 |
Merge from 1.1, updating plugin Conflicts/Replaces accordingly.
Diffstat (limited to 'src/xine-utils')
-rw-r--r-- | src/xine-utils/xmlparser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xine-utils/xmlparser.c b/src/xine-utils/xmlparser.c index 9fad38e5d..66ab28ce4 100644 --- a/src/xine-utils/xmlparser.c +++ b/src/xine-utils/xmlparser.c @@ -239,6 +239,8 @@ static int xml_parser_get_node_internal (xml_node_t *current_node, char *root_na if (rec < MAX_RECURSION) { + memset (tok, 0, TOKEN_SIZE); + while ((bypass_get_token) || (res = lexer_get_token(tok, TOKEN_SIZE)) != T_ERROR) { bypass_get_token = 0; lprintf("info: %d - %d : '%s'\n", state, res, tok); |