[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] cvs: pecl /http http_request_api.c
From:       "Michael Wallner" <mike () php ! net>
Date:       2006-04-28 14:43:44
Message-ID: cvsmike1146235424 () cvsserver
[Download RAW message or body]

mike		Fri Apr 28 14:43:44 2006 UTC

  Modified files:              
    /pecl/http	http_request_api.c 
  Log:
  - fix bad hash key length
  
http://cvs.php.net/viewcvs.cgi/pecl/http/http_request_api.c?r1=1.126&r2=1.127&diff_format=u
                
Index: pecl/http/http_request_api.c
diff -u pecl/http/http_request_api.c:1.126 pecl/http/http_request_api.c:1.127
--- pecl/http/http_request_api.c:1.126	Tue Apr 18 18:44:47 2006
+++ pecl/http/http_request_api.c	Fri Apr 28 14:43:44 2006
@@ -10,7 +10,7 @@
     +--------------------------------------------------------------------+
 */
 
-/* $Id: http_request_api.c,v 1.126 2006/04/18 18:44:47 mike Exp $ */
+/* $Id: http_request_api.c,v 1.127 2006/04/28 14:43:44 mike Exp $ */
 
 #define HTTP_WANT_SAPI
 #define HTTP_WANT_CURL
@@ -257,7 +257,7 @@
 	}
 #define HTTP_CURL_OPT_STRING_EX(keyname, optname, obdc) \
 	if (!strcasecmp(key, keyname)) { \
-		zval *copy = http_request_option_cache(request, keyname, zval_copy(IS_STRING, \
*param)); \ +		zval *copy = http_request_option_cache_ex(request, keyname, \
strlen(keyname)+1, 0, zval_copy(IS_STRING, *param)); \  if (obdc) { \
 			HTTP_CHECK_OPEN_BASEDIR(Z_STRVAL_P(copy), return FAILURE); \
 		} \
@@ -272,7 +272,7 @@
 	}
 #define HTTP_CURL_OPT_LONG_EX(keyname, optname) \
 	if (!strcasecmp(key, keyname)) { \
-		zval *copy = http_request_option_cache(request, keyname, zval_copy(IS_LONG, \
*param)); \ +		zval *copy = http_request_option_cache_ex(request, keyname, \
strlen(keyname)+1, 0, zval_copy(IS_LONG, *param)); \  HTTP_CURL_OPT(optname, \
Z_LVAL_P(copy)); \  key = NULL; \
 		continue; \

-- 
PECL CVS Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic