If master is not communicating to us in a syntax we understand, just ask for
it to be unplugged. This changes the behaviour in this error case.
Previously, we returned -1, which is TRUE when converted to a boolean, and
thus this changes the error semantics, and may be horribly wrong. However,
the i_error()s in auth_master_input_line follow the same pattern.
Signed-off-by: Phil Carmody <phil@dovecot.fi>
list = t_strsplit_tab(args);
if (list[0] == NULL || str_to_uint(list[0], &id) < 0) {
i_error("BUG: Master sent broken LIST");
- return -1;
+ return FALSE;
}
list++;