The latter are more explicit and easier to understand at the call site. Also removed the redundant crash checks via the log files.
Allows the including of <assert.h>.
See script directory for method. The script to run in the top level MaxScale directory is called maxscale-uncrustify.sh, which uses another script, list-src, from the same directory (so you need to set your PATH). The uncrustify version was 0.66.
The test checks that both text protocol and binary protocol statements produce the correct result.