]> granicus.if.org Git - php/commitdiff
Buncha Fixes.
authorIlia Alshanetsky <iliaa@php.net>
Fri, 14 Feb 2003 16:45:31 +0000 (16:45 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Fri, 14 Feb 2003 16:45:31 +0000 (16:45 +0000)
 * Fixed a number of memory leaks.
 * Fixed some php_error_docref() calls that tried to print non-existent
   arguments.
 * Fixed some signed/unsigned problems.
 * Fixed the MYSQLI_FETCH_RESOURCE macro so that compilers do not complain
   about un-initialized variables.
 * CS fixes.

ext/mysqli/php_mysqli.h

index 01301f573d68f080c418e0ddd27b7290956c8b20..0866011768e1b84e7f024eb2a519061957ffbdfc 100644 (file)
@@ -103,7 +103,7 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry * TSRML
 { \
        mysqli_object *intern = (mysqli_object *)zend_object_store_get_object(*(__id) TSRMLS_CC);\
        if (!((__ptr) != (__type)intern->ptr)) {\
-               php_error(E_WARNING, "Couldn' fetch %s", intern->zo.ce->name);\
+               php_error(E_WARNING, "Couldn't fetch %s", intern->zo.ce->name);\
                RETURN_NULL();\
        }\
        __ptr = (__type)intern->ptr; \