summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-01-15 13:48:07 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-01-15 13:48:07 +0000
commite0e77d7d0218c351598d98301f6bdb529268ece3 (patch)
tree376db06bace20dcbf6734d2a835d1218605942de /ext
parent0855c0b60366569102f461c0051a3990a4429a84 (diff)
downloadphp-git-e0e77d7d0218c351598d98301f6bdb529268ece3.tar.gz
Typo corrections.
Diffstat (limited to 'ext')
-rw-r--r--ext/dbase/dbase.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c
index a9744f4836..b82debfef2 100644
--- a/ext/dbase/dbase.c
+++ b/ext/dbase/dbase.c
@@ -137,7 +137,7 @@ PHP_FUNCTION(dbase_open)
RETURN_FALSE;
}
- dbh = dbf_open(Z_STRVAL_P(dbf_name), Z_LVAL_PP(options) TSRMLS_CC);
+ dbh = dbf_open(Z_STRVAL_PP(dbf_name), Z_LVAL_PP(options) TSRMLS_CC);
if (dbh == NULL) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to open database %s", Z_STRVAL_PP(dbf_name));
RETURN_FALSE;
@@ -317,7 +317,7 @@ PHP_FUNCTION(dbase_add_record)
Replaces a record to the database */
PHP_FUNCTION(dbase_replace_record)
{
- zval **dbh_id, *fields, **field, **recnum;
+ zval **dbh_id, **fields, **field, **recnum;
dbhead_t *dbh;
int dbh_type;
@@ -395,7 +395,7 @@ PHP_FUNCTION(dbase_delete_record)
dbh = zend_list_find(Z_LVAL_PP(dbh_id), &dbh_type);
if (!dbh || dbh_type != DBase_GLOBAL(le_dbhead)) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find database for identifier %d", Z_LVAL_P(dbh_id));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find database for identifier %d", Z_LVAL_PP(dbh_id));
RETURN_FALSE;
}
@@ -417,7 +417,7 @@ PHP_FUNCTION(dbase_delete_record)
*/
static void php_dbase_get_record(INTERNAL_FUNCTION_PARAMETERS, int assoc)
{
- pval *dbh_id, *record;
+ zval **dbh_id, **record;
dbhead_t *dbh;
int dbh_type;
dbfield_t *dbf, *cur_f;