iliaa Fri Feb 14 13:35:30 2003 EDT Modified files: /php4/ext/mysqli mysqli_api.c Log: CS fixes. Index: php4/ext/mysqli/mysqli_api.c diff -u php4/ext/mysqli/mysqli_api.c:1.7 php4/ext/mysqli/mysqli_api.c:1.8 --- php4/ext/mysqli/mysqli_api.c:1.7 Fri Feb 14 13:17:25 2003 +++ php4/ext/mysqli/mysqli_api.c Fri Feb 14 13:35:30 2003 @@ -15,7 +15,7 @@ | Author: Georg Richter <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: mysqli_api.c,v 1.7 2003/02/14 18:17:25 georg Exp $ + $Id: mysqli_api.c,v 1.8 2003/02/14 18:35:30 iliaa Exp $ */ #ifdef HAVE_CONFIG_H @@ -100,8 +100,7 @@ } MYSQLI_FETCH_RESOURCE(stmt, STMT *, args[0], "mysqli_stmt"); start = 1; - } - else { + } else { object = &(getThis()); MYSQLI_FETCH_RESOURCE(stmt, STMT *, object, "mysqli_stmt"); } @@ -434,7 +433,7 @@ PHP_FUNCTION(mysqli_debug) { char *debug; - int debug_len; + int debug_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &debug, &debug_len) == FAILURE) { return; @@ -546,7 +545,7 @@ PHP_FUNCTION(mysqli_error) { MYSQL *mysql; - zval *mysql_link; + zval *mysql_link; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O", &mysql_link, mysqli_link_class_entry) == FAILURE) { return; @@ -962,7 +961,7 @@ { MYSQL *mysql; char *info = NULL; - zval *mysql_link = NULL; + zval *mysql_link = NULL; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O", &mysql_link, mysqli_link_class_entry) == FAILURE) { return; @@ -1277,7 +1276,8 @@ /* {{{ proto bool mysqli_real_query(resource link, string query) */ -PHP_FUNCTION(mysqli_real_query) { +PHP_FUNCTION(mysqli_real_query) +{ MYSQL *mysql; zval *mysql_link; char *query = NULL; @@ -1350,7 +1350,8 @@ /* {{{ proto int mysqli_rpl_parse_enabled(resource link) */ -PHP_FUNCTION(mysqli_rpl_parse_enabled) { +PHP_FUNCTION(mysqli_rpl_parse_enabled) +{ MYSQL *mysql; zval *mysql_link; @@ -1365,7 +1366,8 @@ /* {{{ proto bool mysqli_rpl_probe(resource link) */ -PHP_FUNCTION(mysqli_rpl_probe) { +PHP_FUNCTION(mysqli_rpl_probe) +{ MYSQL *mysql; zval *mysql_link; @@ -1384,11 +1386,12 @@ /* {{{ proto int mysqli_rpl_query_type(string query) */ -PHP_FUNCTION(mysqli_rpl_query_type) { +PHP_FUNCTION(mysqli_rpl_query_type) +{ MYSQL *mysql; zval *mysql_link; char *query; - int query_len; + int query_len; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) { return; @@ -1429,7 +1432,8 @@ /* {{{ proto bool mysqli_send_query(resource link, string query) */ -PHP_FUNCTION(mysqli_send_query) { +PHP_FUNCTION(mysqli_send_query) +{ MYSQL *mysql; zval *mysql_link; char *query = NULL; @@ -1449,7 +1453,8 @@ /* {{{ proto bool mysqli_slave_query(resource link, string query) */ -PHP_FUNCTION(mysqli_slave_query) { +PHP_FUNCTION(mysqli_slave_query) +{ MYSQL *mysql; zval *mysql_link; char *query = NULL;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php