cvs: pecl /http http_methods.c

From: Date: Mon, 11 Apr 2005 10:33:02 +0000
Subject: cvs: pecl /http http_methods.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-2970@lists.php.net to get a copy of this message
mike Mon Apr 11 06:33:02 2005 EDT Modified files: /pecl/http http_methods.c Log: * "Status" now is "Response Status" # need to switch to http_message api http://cvs.php.net/diff.php/pecl/http/http_methods.c?r1=1.17&r2=1.18&ty=u Index: pecl/http/http_methods.c diff -u pecl/http/http_methods.c:1.17 pecl/http/http_methods.c:1.18 --- pecl/http/http_methods.c:1.17 Sun Apr 10 11:58:29 2005 +++ pecl/http/http_methods.c Mon Apr 11 06:33:00 2005 @@ -13,7 +13,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: http_methods.c,v 1.17 2005/04/10 15:58:29 mike Exp $ */ +/* $Id: http_methods.c,v 1.18 2005/04/11 10:33:00 mike Exp $ */ #ifdef HAVE_CONFIG_H # include "config.h" @@ -1358,7 +1358,7 @@ data = GET_PROP(obj, responseData); if ( (SUCCESS == zend_hash_find(Z_ARRVAL_P(data), "headers", sizeof("headers"), (void **) &hdrs)) && - (SUCCESS == zend_hash_find(Z_ARRVAL_PP(hdrs), "Status", sizeof("Status"), (void **) &code))) { + (SUCCESS == zend_hash_find(Z_ARRVAL_PP(hdrs), "Response Status", sizeof("Response Status"), (void **) &code))) { RETVAL_STRINGL(Z_STRVAL_PP(code), Z_STRLEN_PP(code), 1); convert_to_long(return_value); } else {

« previous php.pecl.cvs (#2970) next »