Minor refactor, instead of else break; break early
Minor refactor, instead of else break; break early

This patch looks more complicated than it really is.  In essence, it
changes the `if (len) { ... } else break;` statement into the simpler
form `if (!len) break;` and adjusts the indentation and variable decl.

Signed-off-by: Joachim Nilsson <583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com>

westermo/libconfuse,westermo/libconfuse,martinh/libconfuse,martinh/libconfuse,troglobit/libconfuse,troglobit/libconfuse