On Fri, 30 Sep 2016, Toomas Soome wrote:

Author: tsoome
Date: Fri Sep 30 23:19:08 2016
New Revision: 306538
URL: https://svnweb.freebsd.org/changeset/base/306538

Log:
 cstyle fix of cd9660_open in libstand

 rS306534 did create bad cstyle by my mistake, correcting it.

Modified: head/lib/libstand/cd9660.c
==============================================================================
--- head/lib/libstand/cd9660.c  Fri Sep 30 23:01:37 2016        (r306537)
+++ head/lib/libstand/cd9660.c  Fri Sep 30 23:19:08 2016        (r306538)
@@ -356,11 +356,11 @@ cd9660_open(const char *path, struct ope

                        /* 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;
+                               /* 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) {

Fixing the remaining style bugs gives:

[Delete blank line here.]
                        /* If the new block has zero length, it is padding. */
                        if (isonum_711(dp->length) == 0) {
                                /* Skip to next block, if any. */
                                off = boff * ISO_DEFAULT_BLOCK_SIZE;
                                continue;
                        }
                        off += isonum_711(dp->length);

Bruce
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to