summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pudeyev <p@users.noreply.github.com>2021-05-27 14:57:36 -0400
committerGitHub <noreply@github.com>2021-05-27 14:57:36 -0400
commit687daf570f2f75c7f9c02c27fffd3851fb0df7f3 (patch)
tree49b2887f7cd253fc75224d8f1cd7949e0a9c6f92
parentde597481f4ac23e40239c8059a22a1ec522457be (diff)
parent411371626371b160f7bcc66cbe9ad94d68715a53 (diff)
downloadpycurl-687daf570f2f75c7f9c02c27fffd3851fb0df7f3.tar.gz
Merge pull request #685 from dimaqq/patch-1
Allow to get CURLINFO_CONDITION_UNMET
-rw-r--r--src/easyinfo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/easyinfo.c b/src/easyinfo.c
index 3712646..5412a5a 100644
--- a/src/easyinfo.c
+++ b/src/easyinfo.c
@@ -157,7 +157,9 @@ do_curl_getinfo_raw(CurlObject *self, PyObject *args)
#ifdef HAVE_CURLINFO_HTTP_VERSION
case CURLINFO_HTTP_VERSION:
#endif
-
+#ifdef HAVE_CURL_7_19_4_OPTS
+ case CURLINFO_CONDITION_UNMET:
+#endif
{
/* Return PyInt as result */
long l_res = -1;