summaryrefslogtreecommitdiff
path: root/packages/mediatomb/files/curl.diff
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mediatomb/files/curl.diff')
-rw-r--r--packages/mediatomb/files/curl.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/mediatomb/files/curl.diff b/packages/mediatomb/files/curl.diff
new file mode 100644
index 0000000000..f34c9fc26e
--- /dev/null
+++ b/packages/mediatomb/files/curl.diff
@@ -0,0 +1,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());