File: 0004-remove-obsolete-compatibility-code.patch

package info (click to toggle)
lua-curl 0.3.0-13
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 312 kB
  • sloc: ansic: 1,106; makefile: 159
file content (22 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Enrico Tassi <gareuselesinge@debian.org>
Date: Wed, 27 Aug 2014 11:09:36 +0200
Subject: remove obsolete compatibility code

---
 lua-curl.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lua-curl.c b/lua-curl.c
index 77dd00e..602bafe 100644
--- a/lua-curl.c
+++ b/lua-curl.c
@@ -75,9 +75,6 @@
 #ifndef CURLOPT_READDATA
 	#define CURLOPT_READDATA  CURLOPT_INFILE 
 #endif
-#ifndef CURLOPT_HEADERDATA
-	#define CURLOPT_HEADERDATA CURLOPT_WRITEHEADER
-#endif
 
 /* strings put in the bag, vectorialized for faster/shorter access */