- correct package name
[m6w6/ext-http] / http_request_object.c
index 0a6c5d1a4ea47df32b7f84a8708e2199ab6bcaae..9c5e902db0f7dce7d376697fe78ab582237886e9 100644 (file)
@@ -306,7 +306,6 @@ zend_object_value _http_request_object_new(zend_class_entry *ce TSRMLS_DC)
        o = ecalloc(1, sizeof(http_request_object));
        o->zo.ce = ce;
        o->ch = curl_easy_init();
-       o->pool = NULL;
 
        phpstr_init(&o->history);
        phpstr_init(&o->request);
@@ -344,6 +343,7 @@ static inline void _http_request_object_declare_default_properties(TSRMLS_D)
 
        DCL_PROP(PUBLIC, bool, recordHistory, 1);
 
+#ifndef WONKY
        /*
         * Request Method Constants
         */
@@ -388,6 +388,7 @@ static inline void _http_request_object_declare_default_properties(TSRMLS_D)
        DCL_CONST(long, "AUTH_NTLM", CURLAUTH_NTLM);
        DCL_CONST(long, "AUTH_ANY", CURLAUTH_ANY);
 #      endif /* LIBCURL_VERSION_NUM */
+#endif /* WONKY */
 }
 
 void _http_request_object_free(zend_object *object TSRMLS_DC)