summaryrefslogtreecommitdiff
path: root/packages/mediatomb/files/curl.diff
blob: f34c9fc26ebd354b232b1670272346df397a7cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- /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());