diff options
author | Uwe Steinmann <steinm@php.net> | 2003-11-27 10:15:20 +0000 |
---|---|---|
committer | Uwe Steinmann <steinm@php.net> | 2003-11-27 10:15:20 +0000 |
commit | 3977fdd7b09193fb8c48816a729a5ef860d57883 (patch) | |
tree | 8384d60310fa70fdb7acff807598cb802718d8d3 /ext/dbase | |
parent | 95078ae354ce21f3d9b7c43dbe64dc06009c611a (diff) | |
download | php-git-3977fdd7b09193fb8c48816a729a5ef860d57883.tar.gz |
- fixed indenting
Diffstat (limited to 'ext/dbase')
-rw-r--r-- | ext/dbase/dbf_rec.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/dbase/dbf_rec.c b/ext/dbase/dbf_rec.c index 928a2bfc0f..6e872d3fb7 100644 --- a/ext/dbase/dbf_rec.c +++ b/ext/dbase/dbf_rec.c @@ -168,16 +168,16 @@ void put_field_val(char *rp, dbfield_t *fldp, char *cp) */ void out_rec(dbhead_t *dbh, dbfield_t *dbf, char *cp) { - dbfield_t *cur_f; - int nfields = dbh->db_nfields; - char *fnp = (char *)malloc(dbh->db_rlen); + dbfield_t *cur_f; + int nfields = dbh->db_nfields; + char *fnp = (char *)malloc(dbh->db_rlen); - printf("%c", *cp); - for (cur_f = dbf; cur_f < &dbf[nfields] ; cur_f++) { - printf(" "); + printf("%c", *cp); + for (cur_f = dbf; cur_f < &dbf[nfields] ; cur_f++) { + printf(" "); printf(cur_f->db_format, get_field_val(cp, cur_f, fnp)); - } - printf("\n"); + } + printf("\n"); free(fnp); } |