summaryrefslogtreecommitdiff
path: root/ext/dbase/dbf_head.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
committerZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
commit1159c84ab7849099d4a717cd05c2d920102040ed (patch)
treeed4e48bb27e2ce5de5972fc3a29c1d24c818467a /ext/dbase/dbf_head.c
parentfcc035108f7b8d2e169c5a592227b3df84d0573e (diff)
downloadphp-git-1159c84ab7849099d4a717cd05c2d920102040ed.tar.gz
- TSRMLS_FETCH work
- whitespace fixes
Diffstat (limited to 'ext/dbase/dbf_head.c')
-rw-r--r--ext/dbase/dbf_head.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dbase/dbf_head.c b/ext/dbase/dbf_head.c
index 4530337879..650960f5e2 100644
--- a/ext/dbase/dbf_head.c
+++ b/ext/dbase/dbf_head.c
@@ -227,10 +227,10 @@ dbhead_t *dbf_open(char *dp, int o_flags)
dbhead_t *dbh;
cp = dp;
- if ((fd = VCWD_OPEN((cp, o_flags|O_BINARY))) < 0) {
+ if ((fd = VCWD_OPEN(cp, o_flags|O_BINARY)) < 0) {
cp = (char *)malloc(256);
strcpy(cp, dp); strcat(cp, ".dbf");
- if ((fd = VCWD_OPEN((cp, o_flags))) < 0) {
+ if ((fd = VCWD_OPEN(cp, o_flags)) < 0) {
perror("open");
return NULL;
}