#endif
#include "php.h"
+#ifdef HTTP_HAVE_CURL
+
#include "php_http.h"
#include "php_http_std_defs.h"
#include "php_http_api.h"
phpstr_fix(qstr);
HTTP_CURL_OPT(COOKIE, http_request_data_copy(COPY_STRING, qstr->data));
}
- phpstr_free(qstr);
+ phpstr_free(&qstr);
} else {
HTTP_CURL_OPT(COOKIE, NULL);
}
}
/* }}} */
+#endif
+
/*
* Local variables:
* tab-width: 4