--- a/libidav/utils.c Mon Dec 15 09:57:35 2014 +0100
+++ b/libidav/utils.c Mon Dec 15 10:01:09 2014 +0100
@@ -190,7 +190,7 @@
sstr_t url = sstrcat(2, base, href_str);
- curl_easy_setopt(sn->handle, CURLOPT_URL, url);
+ curl_easy_setopt(sn->handle, CURLOPT_URL, url.ptr);
free(url.ptr);
}