curlhttpsrc: Fix return value

The function returns a gchar * (and not a boolean)
This commit is contained in:
Edward Hervey 2017-11-21 15:33:08 +01:00 committed by Edward Hervey
parent b8cb08c319
commit 26108d829b

View file

@ -1412,7 +1412,7 @@ gst_curl_http_src_urihandler_get_uri (GstURIHandler * handler)
gchar *ret;
GstCurlHttpSrc *source;
g_return_val_if_fail (GST_IS_URI_HANDLER (handler), FALSE);
g_return_val_if_fail (GST_IS_URI_HANDLER (handler), NULL);
source = GST_CURLHTTPSRC (handler);
GSTCURL_FUNCTION_ENTRY (source);