--- /tmp/url.cc 2008-09-14 20:40:33.000000000 +0200 +++ mediatomb-0.11.0/src/url.cc 2008-09-14 20:40:49.523198000 +0200 @@ -24,7 +24,7 @@ version 2 along with MediaTomb; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - $Id: url.cc 1714 2008-03-01 17:33:21Z lww $ + $Id$ */ /// \file url.cc @@ -75,7 +75,7 @@ if (only_header) { - curl_easy_setopt(curl_handle, CURLOPT_NOBODY); + curl_easy_setopt(curl_handle, CURLOPT_NOBODY, 1); curl_easy_setopt(curl_handle, CURLOPT_HEADERFUNCTION, URL::dl); curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA, (void *)buffer.getPtr());