Skip to content
Browse files

fixed: Ticket #11291 - Can't get http data when set referer to ""

  • Loading branch information...
1 parent 0897223 commit c332e76cd9eeba76f77446e2d7378ff275ffbc4e @taxigps taxigps committed Mar 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/filesystem/FileCurl.cpp
View
2 xbmc/filesystem/FileCurl.cpp
@@ -438,7 +438,7 @@ void CFileCurl::SetCommonOptions(CReadState* state)
g_curlInterface.easy_setopt(h, CURLOPT_REFERER, m_referer.c_str());
else
{
- g_curlInterface.easy_setopt(h, CURLOPT_REFERER, "");
+ g_curlInterface.easy_setopt(h, CURLOPT_REFERER, NULL);
g_curlInterface.easy_setopt(h, CURLOPT_AUTOREFERER, TRUE);
}

0 comments on commit c332e76

Please sign in to comment.
Something went wrong with that request. Please try again.