summaryrefslogtreecommitdiff
path: root/ext/dba
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-12-30 13:09:03 +0000
committerMarcus Boerger <helly@php.net>2002-12-30 13:09:03 +0000
commit32dda8b0cb4a3743c3916e8ebb67c1cff042fb02 (patch)
treecbaa7bcb81cbe7322f347cff7980e1310504891a /ext/dba
parent4d2f7207c04a6377699cb96a7946cde3662c51fe (diff)
downloadphp-git-32dda8b0cb4a3743c3916e8ebb67c1cff042fb02.tar.gz
ws
Diffstat (limited to 'ext/dba')
-rw-r--r--ext/dba/dba_db4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/dba/dba_db4.c b/ext/dba/dba_db4.c
index 3f4c6ef857..cab8961764 100644
--- a/ext/dba/dba_db4.c
+++ b/ext/dba/dba_db4.c
@@ -72,8 +72,9 @@ DBA_OPEN_FUNC(db4)
info->mode == DBA_WRITER ? 0 :
info->mode == DBA_TRUNC ? DB_CREATE | DB_TRUNCATE : -1;
- if (gmode == -1)
+ if (gmode == -1) {
return FAILURE; /* not possible */
+ }
if (info->argc > 0) {
convert_to_long_ex(info->argv[0]);