diff options
| author | Derick Rethans <derick@php.net> | 2002-04-08 06:36:39 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2002-04-08 06:36:39 +0000 |
| commit | a30a24dc0b143fae021c2f818b4b20585bf37ecc (patch) | |
| tree | 1db3fa75e274eb7c9814039a2280a715503ce864 | |
| parent | d1ded86a6312aef83aae5de067e0b87e7c84c9f0 (diff) | |
| download | php-git-a30a24dc0b143fae021c2f818b4b20585bf37ecc.tar.gz | |
- MFH
| -rw-r--r-- | ext/dba/dba_db2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/dba_db2.c b/ext/dba/dba_db2.c index d3ecfa3b67..bb7cf470d2 100644 --- a/ext/dba/dba_db2.c +++ b/ext/dba/dba_db2.c @@ -67,7 +67,7 @@ DBA_OPEN_FUNC(db2) filemode = Z_LVAL_PP(info->argv[0]); } - if(db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) { + if(!db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) { info->dbf = malloc(sizeof(dba_db2_data)); memset(info->dbf, 0, sizeof(dba_db2_data)); ((dba_db2_data *) info->dbf)->dbp = dbp; |
