Closed satoshinm closed 7 years ago
To help prevent errors like https://github.com/satoshinm/NetCraft/pull/101#issuecomment-299767829, it may be a good idea to switch from int and 1 or 0 where possible to bool using #include <stdbool.h> with true and false.
int
bool
#include <stdbool.h>
true
false
To help prevent errors like https://github.com/satoshinm/NetCraft/pull/101#issuecomment-299767829, it may be a good idea to switch from
int
and 1 or 0 where possible tobool
using#include <stdbool.h>
withtrue
andfalse
.