From 594f991701e1accc1a5bce730449d6de3b441d47 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Tue, 26 Feb 2013 08:52:17 +0100 Subject: [PATCH] remove a left-over global variable from patch 0003 --- ...ount-bug-and-provides-better-organization-.patch | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/0003-Fixes-refcount-bug-and-provides-better-organization-.patch b/0003-Fixes-refcount-bug-and-provides-better-organization-.patch index fa76ba6..80c600e 100644 --- a/0003-Fixes-refcount-bug-and-provides-better-organization-.patch +++ b/0003-Fixes-refcount-bug-and-provides-better-organization-.patch @@ -1,14 +1,14 @@ From 4a377e2d60fb903e91a370595a6ea22cb7ee0e0e Mon Sep 17 00:00:00 2001 From: zanee Date: Wed, 28 Apr 2010 16:02:41 +0000 -Subject: [PATCH 3/5] Fixes refcount bug and provides better organization of PyCurl object. Submitted by dbprice1. +Subject: [PATCH 3/5 v2] Fixes refcount bug and provides better organization of PyCurl object. Submitted by dbprice1. https://sourceforge.net/tracker/?func=detail&aid=2893665&group_id=28236&atid=392777 Signed-off-by: Kamil Dudka --- - src/pycurl.c | 89 +++++++++++++++++++++++++++++++++++++-------------------- - 1 files changed, 58 insertions(+), 31 deletions(-) + src/pycurl.c | 88 +++++++++++++++++++++++++++++++++++++-------------------- + 1 files changed, 57 insertions(+), 31 deletions(-) diff --git a/src/pycurl.c b/src/pycurl.c index 6de1514..32c7ca5 100644 @@ -140,7 +140,7 @@ index 6de1514..32c7ca5 100644 curl_easy_reset(self->handle); /* Decref callbacks and file handles */ -@@ -1421,10 +1439,19 @@ do_curl_reset(CurlObject *self) +@@ -1421,6 +1439,14 @@ do_curl_reset(CurlObject *self) SFREE(self->postquote); SFREE(self->prequote); #undef SFREE @@ -155,11 +155,6 @@ index 6de1514..32c7ca5 100644 return Py_None; } - /* --------------- unsetopt/setopt/getinfo --------------- */ -+ int res; - - static PyObject * - util_curl_unsetopt(CurlObject *self, int option) -- 1.7.1