summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Scheel <julian@jusst.de>2009-11-08 13:33:39 +0000
committerJulian Scheel <julian@jusst.de>2009-11-08 13:33:39 +0000
commitf791bb6196c70f923375f0614f178bddaece877b (patch)
tree82916a677b771bed675c08dfe8ebd16c7f086829
parent1c0d093f3bfd5861550d9fbb23a998b0204b9bed (diff)
downloadxine-lib-f791bb6196c70f923375f0614f178bddaece877b.tar.gz
xine-lib-f791bb6196c70f923375f0614f178bddaece877b.tar.bz2
Fix playback of HTTP URLs with escaped characters (terminate the string).
-rw-r--r--src/input/http_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/http_helper.c b/src/input/http_helper.c
index d7f9a93ff..db93b9b45 100644
--- a/src/input/http_helper.c
+++ b/src/input/http_helper.c
@@ -198,6 +198,7 @@ int _x_parse_url (char *url, char **proto, char** host, int *port,
} else
*it = start[i];
}
+ *it = '\0';
}
}
} else {