Fix null pointer reference for "smix reverse"
commitd58118d1d3371c6f5d6cb8d53784f944f93e2643
authorBruce Luckcuck <github@etracer.net>
Tue, 3 Jul 2018 23:29:56 +0000 (3 19:29 -0400)
committerBruce Luckcuck <github@etracer.net>
Tue, 3 Jul 2018 23:37:23 +0000 (3 19:37 -0400)
tree277fd22402e825f447469c112c1dce6e19161690
parentb44784d962f79abfdd6ec024e79d784b4e5660ae
Fix null pointer reference for "smix reverse"
The short syntax `smix reverse` is meant to print the table. When the logic was checking for parameters it was failing to deal with the null pointer when no parameters were present. Additionally the `smix reverse` was called at the end of a successful command to display the table so even though the command was succeeding it was crashing on the null pointer reference when trying to display the result.

Also some stylistic cleanup
src/main/interface/cli.c