From 9d8cf5d730afef90ea9dcabc606d732e52e15306 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 12 Apr 2005 17:51:43 +0000 Subject: [PATCH] - missing include - unused var --- http_methods.c | 3 +-- http_send_api.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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" -- 2.30.2