felipe          Sat Dec 27 19:06:19 2008 UTC

  Modified files:              
    /php-src/ext/xmlrpc xmlrpc-epi-php.c 
  Log:
  - Fixed code (comparison with string literal)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/xmlrpc/xmlrpc-epi-php.c?r1=1.64&r2=1.65&diff_format=u
Index: php-src/ext/xmlrpc/xmlrpc-epi-php.c
diff -u php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.64 
php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.65
--- php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.64    Mon Nov 17 11:26:24 2008
+++ php-src/ext/xmlrpc/xmlrpc-epi-php.c Sat Dec 27 19:06:19 2008
@@ -51,7 +51,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: xmlrpc-epi-php.c,v 1.64 2008/11/17 11:26:24 felipe Exp $ */
+/* $Id: xmlrpc-epi-php.c,v 1.65 2008/12/27 19:06:19 felipe Exp $ */
 
 /**********************************************************************
 * BUGS:                                                               *
@@ -721,7 +721,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