]> diplodocus.org Git - nmh/commit
Replace some ints that are only ever 0 or 1 with bool.
authorRalph Corderoy <ralph@inputplus.co.uk>
Tue, 31 Oct 2017 23:33:34 +0000 (23:33 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Tue, 31 Oct 2017 23:33:34 +0000 (23:33 +0000)
commit8c6e995a43e71e012ae133ff8ebea5719d9117fe
treea08c8a6c4661713f24e57d45b057bd1d6c2405a3
parent6319a50c4be2bcfad3e9cfcce034e9b5adccf0a8
Replace some ints that are only ever 0 or 1 with bool.

Knowing the domain of the variable is Boolean aids comprehension of the
variable's name and purpose.
sbr/addrsbr.c
sbr/encode_rfc2047.c
sbr/fmt_addr.c
sbr/fmt_compile.c
sbr/fmt_scan.c
sbr/netsec.c
sbr/print_sw.c
uip/burst.c
uip/comp.c
uip/dist.c
uip/fmttest.c