diff options
author | Uwe Steinmann <steinm@php.net> | 2003-02-13 07:59:24 +0000 |
---|---|---|
committer | Uwe Steinmann <steinm@php.net> | 2003-02-13 07:59:24 +0000 |
commit | 1b46eeb1cf51028616039384b4061e7e81e286d4 (patch) | |
tree | d40e05c5d4f5763a230f420f696c25ed69848198 /ext/hwapi | |
parent | 2f2f6739b41233c5f80b52da932107b29637cf66 (diff) | |
download | php-git-1b46eeb1cf51028616039384b4061e7e81e286d4.tar.gz |
- added more missing strcmp()
Diffstat (limited to 'ext/hwapi')
-rw-r--r-- | ext/hwapi/hwapi.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/hwapi/hwapi.cpp b/ext/hwapi/hwapi.cpp index 3692b7b392..073024e257 100644 --- a/ext/hwapi/hwapi.cpp +++ b/ext/hwapi/hwapi.cpp @@ -918,19 +918,19 @@ static HW_API_replace_In *make_HW_API_replace_In(zval *arg1) { ce = zend_get_class_entry(*keydata); if(!strcmp(key, "object")) { // if(!((*keydata)->value.obj.ce->name, "hw_api_object")) { - if(!(ce->name, "hw_api_object")) { + if(!strcmp(ce->name, "hw_api_object")) { HW_API_Object *obj; obj = (HW_API_Object *) php_hwapi_get_object(*keydata, le_hwapi_objectp); in->setObject(*obj); } } else if(!strcmp(key, "parameters")) { - if(!(ce->name, "hw_api_object")) { + if(!strcmp(ce->name, "hw_api_object")) { HW_API_Object *obj; obj = (HW_API_Object *) php_hwapi_get_object(*keydata, le_hwapi_objectp); in->setParameters(*obj); } } else if(!strcmp(key, "content")) { - if(!(ce->name, "hw_api_content")) { + if(!strcmp(ce->name, "hw_api_content")) { HW_API_Content *obj; obj = (HW_API_Content *) php_hwapi_get_object(*keydata, le_hwapi_contentp); in->setContent(*obj); |