From: Michael Wallner Date: Tue, 12 Apr 2005 17:51:43 +0000 (+0000) Subject: - missing include X-Git-Tag: RELEASE_0_8_0~74 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=9d8cf5d730afef90ea9dcabc606d732e52e15306;p=m6w6%2Fext-http - missing include - unused var --- diff --git a/http_methods.c b/http_methods.c index 6b77947..f43141b 100644 --- a/http_methods.c +++ b/http_methods.c @@ -531,7 +531,6 @@ PHP_METHOD(HttpResponse, send) PHP_METHOD(HttpMessage, __construct) { zval *message = NULL; - int message_len; getObject(http_message_object, obj); if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z/", &message)) { @@ -1518,7 +1517,7 @@ PHP_METHOD(HttpRequest, send) getObject(http_request_object, obj); NO_ARGS; - + SET_EH_THROW_HTTP(); if ((!obj->ch) && (!(obj->ch = curl_easy_init()))) { diff --git a/http_send_api.c b/http_send_api.c index b4b4267..44b29a5 100644 --- a/http_send_api.c +++ b/http_send_api.c @@ -21,8 +21,7 @@ #include "php.h" #include "php_streams.h" -#include "snprintf.h" - +#include "ext/standard/php_lcg.h" #include "SAPI.h" #include "php_http.h"