Fix remaining cstyle issues in libstand/cd9660.c
Reported by: Bruce Evans <brde@optusnet.com.au> Reviewed by: allanjude Approved by: allanjude (mentor) Differential Revision: https://reviews.freebsd.org/D8107
This commit is contained in:
parent
a7b380d7d6
commit
062b8022ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306552
@ -353,15 +353,13 @@ cd9660_open(const char *path, struct open_file *f)
|
||||
|
||||
dp = (struct iso_directory_record *)
|
||||
((char *) dp + isonum_711(dp->length));
|
||||
|
||||
/* if the new block is zero length, its padding */
|
||||
if (isonum_711(dp->length) == 0) {
|
||||
/* skip to next block, if any */
|
||||
off = boff * ISO_DEFAULT_BLOCK_SIZE;
|
||||
continue;
|
||||
} else {
|
||||
off += isonum_711(dp->length);
|
||||
}
|
||||
off += isonum_711(dp->length);
|
||||
}
|
||||
if (off >= dsize) {
|
||||
rc = ENOENT;
|
||||
|
Loading…
Reference in New Issue
Block a user