felipe          Sat Dec 27 19:06:48 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/xmlrpc xmlrpc-epi-php.c 
  Log:
  - MFH: Fixed code (comparison with string literal)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/xmlrpc/xmlrpc-epi-php.c?r1=1.39.2.5.2.6.2.16&r2=1.39.2.5.2.6.2.17&diff_format=u
Index: php-src/ext/xmlrpc/xmlrpc-epi-php.c
diff -u php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.39.2.5.2.6.2.16 
php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.39.2.5.2.6.2.17
--- php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.39.2.5.2.6.2.16       Mon Nov 17 
11:28:00 2008
+++ php-src/ext/xmlrpc/xmlrpc-epi-php.c Sat Dec 27 19:06:48 2008
@@ -51,7 +51,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: xmlrpc-epi-php.c,v 1.39.2.5.2.6.2.16 2008/11/17 11:28:00 felipe Exp $ 
*/
+/* $Id: xmlrpc-epi-php.c,v 1.39.2.5.2.6.2.17 2008/12/27 19:06:48 felipe Exp $ 
*/
 
 /**********************************************************************
 * BUGS:                                                               *
@@ -715,7 +715,7 @@
                }
        }
        
-       if (out.xmlrpc_out.xml_elem_opts.encoding != ENCODING_DEFAULT) {
+       if (strcmp(out.xmlrpc_out.xml_elem_opts.encoding, ENCODING_DEFAULT) != 
0) {
                efree((char *)out.xmlrpc_out.xml_elem_opts.encoding);
        }
 }



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

Reply via email to