]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix the compilation error for URIPARSER
authorJaroslav Kysela <perex@perex.cz>
Wed, 16 Apr 2014 09:10:05 +0000 (11:10 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 5 May 2014 20:00:36 +0000 (22:00 +0200)
src/url.c

index 53ebdc4f7f3723ef7caa4a0efaa6687677bd6a62..8f0c38d3059f2c29b0544bf23b61cfe06852aafa 100644 (file)
--- a/src/url.c
+++ b/src/url.c
@@ -106,7 +106,7 @@ urlparse ( const char *str, url_t *url )
     url->port = 0;
   path       = uri.pathHead;
   while (path) {
-    uri_copy(buf, path->text);
+    uri_copy_static(buf, path->text);
     url->path = realloc(url->path, strlen(url->path) + strlen(buf) + 2);
     strcat(url->path, "/");
     strcat(url->path, buf);
@@ -127,7 +127,7 @@ urlparse ( const char *str, url_t *url )
 }
 
 void
-urlparse_free( void )
+urlparse_done( void )
 {
 }