Commit 8af8cc86 authored by Zeeshan Ali (Khattak)'s avatar Zeeshan Ali (Khattak)
Browse files

Handle unavailability of URL base

parent a0953965
......@@ -116,7 +116,10 @@ xml_util_get_child_element_content_uri (xmlNode *node,
if (!content)
return NULL;
uri = soup_uri_new_with_base (base, (const char *) content);
if (base != NULL)
uri = soup_uri_new_with_base (base, (const char *) content);
else
uri = soup_uri_new ((const char *) content);
xmlFree (content);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment