dmitry          Mon Jun 26 13:31:37 2006 UTC

  Modified files:              
    /php-src/ext/soap   php_sdl.c 
  Log:
  Fixed bug #37862 (Integer pointer comparison to numeric value)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_sdl.c?r1=1.100&r2=1.101&diff_format=u
Index: php-src/ext/soap/php_sdl.c
diff -u php-src/ext/soap/php_sdl.c:1.100 php-src/ext/soap/php_sdl.c:1.101
--- php-src/ext/soap/php_sdl.c:1.100    Wed Apr 19 10:49:16 2006
+++ php-src/ext/soap/php_sdl.c  Mon Jun 26 13:31:37 2006
@@ -17,7 +17,7 @@
   |          Dmitry Stogov <[EMAIL PROTECTED]>                             |
   +----------------------------------------------------------------------+
 */
-/* $Id: php_sdl.c,v 1.100 2006/04/19 10:49:16 dmitry Exp $ */
+/* $Id: php_sdl.c,v 1.101 2006/06/26 13:31:37 dmitry Exp $ */
 
 #include "php_soap.h"
 #include "ext/libxml/php_libxml.h"
@@ -2193,7 +2193,7 @@
                            
zend_hash_find(&tmp_bindings,(char*)&(*tmp)->binding,sizeof((*tmp)->binding), 
(void**)&binding_num) != SUCCESS) {
                        }
                        WSDL_CACHE_PUT_INT(*binding_num, out);
-                       if (binding_num >= 0) {
+                       if (*binding_num >= 0) {
                                if ((*tmp)->binding->bindingType == 
BINDING_SOAP && (*tmp)->bindingAttributes != NULL) {
                                        sdlSoapBindingFunctionPtr binding = 
(sdlSoapBindingFunctionPtr)(*tmp)->bindingAttributes;
                                        WSDL_CACHE_PUT_1(binding->style, out);

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

Reply via email to