- missing include
authorMichael Wallner <mike@php.net>
Tue, 12 Apr 2005 17:51:43 +0000 (17:51 +0000)
committerMichael Wallner <mike@php.net>
Tue, 12 Apr 2005 17:51:43 +0000 (17:51 +0000)
- unused var

http_methods.c
http_send_api.c

index 6b7794780f59df7999770b32f9ceb06265c0104d..f43141bbc58ba638cee039245cde6ee2b987307e 100644 (file)
@@ -531,7 +531,6 @@ PHP_METHOD(HttpResponse, send)
 PHP_METHOD(HttpMessage, __construct)
 {
        zval *message = NULL;
 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)) {
        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;
        getObject(http_request_object, obj);
 
        NO_ARGS;
-       
+
        SET_EH_THROW_HTTP();
 
        if ((!obj->ch) && (!(obj->ch = curl_easy_init()))) {
        SET_EH_THROW_HTTP();
 
        if ((!obj->ch) && (!(obj->ch = curl_easy_init()))) {
index b4b4267d9bc5382aae68c3b4b7b02b531459d187..44b29a51a39abd3c7c1be30fba938dc6abb1eabf 100644 (file)
@@ -21,8 +21,7 @@
 
 #include "php.h"
 #include "php_streams.h"
 
 #include "php.h"
 #include "php_streams.h"
-#include "snprintf.h"
-
+#include "ext/standard/php_lcg.h"
 #include "SAPI.h"
 
 #include "php_http.h"
 #include "SAPI.h"
 
 #include "php_http.h"