projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
ef504c9
)
- remove unnecessary separation crud
author
Michael Wallner
<mike@php.net>
Fri, 5 Oct 2007 10:30:43 +0000
(10:30 +0000)
committer
Michael Wallner
<mike@php.net>
Fri, 5 Oct 2007 10:30:43 +0000
(10:30 +0000)
http_requestdatashare_object.c
patch
|
blob
|
history
diff --git
a/http_requestdatashare_object.c
b/http_requestdatashare_object.c
index 91a2fa6f0af650c8edf6368ebe8167c045d57204..3b6ff4e7f2876627ca2e37509e80e8a09e63422d 100644
(file)
--- a/
http_requestdatashare_object.c
+++ b/
http_requestdatashare_object.c
@@
-159,15
+159,9
@@
static void _http_requestdatashare_object_write_prop(zval *object, zval *member,
{
if (zend_hash_exists(&THIS_CE->default_properties, Z_STRVAL_P(member), Z_STRLEN_P(member)+1)) {
int status;
- zval *orig = value;
getObjectEx(http_requestdatashare_object, obj, object);
- SEPARATE_ZVAL_IF_NOT_REF(&value);
status = http_request_datashare_set(obj->share, Z_STRVAL_P(member), Z_STRLEN_P(member), (zend_bool) i_zend_is_true(value));
- if (orig != value) {
- zval_ptr_dtor(&value);
- value = orig;
- }
if (SUCCESS != status) {
return;
}