User: Password:
|
|
Subscribe / Log in / New account

Indentation

Indentation

Posted Mar 5, 2008 14:48 UTC (Wed) by corbet (editor, #1)
In reply to: The rest of the vmsplice() exploit story by jzbiciak
Parent article: The rest of the vmsplice() exploit story

The indentation of the break line was clearly wrong (and different from the real code), I fixed it.

As for indent depth, I routinely shorten it in code samples to make the result fit in the browser window. The original code uses full-tab indents.


(Log in to post comments)

Indentation

Posted Mar 5, 2008 19:14 UTC (Wed) by jzbiciak (subscriber, #5246) [Link]

I did notice the consistent 4-character indents elsewhere.  I was being a tad tongue-in-cheek
because of the apparent irony.  (It was clear that the 'break' statement was the odd man out.)


Cheers,

--Joe


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds