]> granicus.if.org Git - curl/commit
CODE_STYLE: Use boolean conditions
authorSteve Holme <steve_holme@hotmail.com>
Sun, 20 Mar 2016 11:51:11 +0000 (11:51 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 20 Mar 2016 11:51:11 +0000 (11:51 +0000)
commiteba1b3099fce4e81260285f7cc68caf664aa8ea8
tree4fea4c99ab9accd4ec00f7a5d2a9ec12e57b5072
parentf046ac48d67c8597a7d6d8dff835436f9d628da2
CODE_STYLE: Use boolean conditions

Rather than use TRUE, FALSE, NULL, 0 or != 0 in if/while conditions.

Additionally, corrected some example code to adhere to the recommended
coding style.
docs/CODE_STYLE.md