From: Jaroslav Kysela Date: Wed, 16 Apr 2014 09:10:05 +0000 (+0200) Subject: Fix the compilation error for URIPARSER X-Git-Tag: v4.1~2115^2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb7b4057f5da6584a491975d9ea77bc163acf469;p=thirdparty%2Ftvheadend.git Fix the compilation error for URIPARSER --- diff --git a/src/url.c b/src/url.c index 53ebdc4f7..8f0c38d30 100644 --- 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 ) { }