Tag: 3db1cd5c05f35fb43eb134df6f321de4e63141f2

net: fix assignment of 0/1 to bool variables.

Author: Rusty Russell <rusty@rustcorp.com.au> DaveM said: Please, this kind of stuff rots forever and not using bool properly drives me crazy. Joe Perches gave me the spatch script: @@ bool b; @@ -b = 0 +b = false @@ bool b; @@ -b = 1 +b = true I merely installed coccinelle, read the documentation …

Continue reading