From eb7b4057f5da6584a491975d9ea77bc163acf469 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 16 Apr 2014 11:10:05 +0200 Subject: [PATCH] Fix the compilation error for URIPARSER --- src/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/url.c b/src/url.c index 53ebdc4f..8f0c38d3 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 ) { }