]> granicus.if.org Git - php/commitdiff
ws
authorMarcus Boerger <helly@php.net>
Mon, 30 Dec 2002 13:09:03 +0000 (13:09 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 30 Dec 2002 13:09:03 +0000 (13:09 +0000)
ext/dba/dba_db4.c

index 3f4c6ef8573871484492aacbf9a364380e6e7b29..cab89617648644fa588a58fc2cbe78e492e25a7b 100644 (file)
@@ -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]);