mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Unbreak the build with the new curl - the CURLOPT_NOBODY option really
requires an argument now.
This commit is contained in:
parent
40934d288a
commit
0e7c1db0bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226793
11
net/mediatomb/files/patch-src-url.cc
Normal file
11
net/mediatomb/files/patch-src-url.cc
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/url.cc.old 2009-01-24 15:50:40.000000000 +0200
|
||||
+++ src/url.cc 2009-01-24 15:51:07.000000000 +0200
|
||||
@@ -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());
|
Loading…
Reference in New Issue
Block a user