Mercurial > dovecot > core-2.2
diff src/lib-master/master-login-auth.c @ 14471:fc8031c5e691
Use t_strsplit_tab() wherever possible
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 19 Apr 2012 23:06:55 +0300 |
parents | ba770cba5598 |
children | ca37d1577291 |
line wrap: on
line diff
--- a/src/lib-master/master-login-auth.c Thu Apr 19 23:00:16 2012 +0300 +++ b/src/lib-master/master-login-auth.c Thu Apr 19 23:06:55 2012 +0300 @@ -227,7 +227,7 @@ /* <id> <userid> [..] */ - list = t_strsplit(args, "\t"); + list = t_strsplit_tab(args); if (list[0] == NULL || list[1] == NULL || str_to_uint(list[0], &id) < 0) { i_error("Auth server sent corrupted USER line"); @@ -273,7 +273,7 @@ const char *const *args, *error = NULL; unsigned int i, id; - args = t_strsplit(args_line, "\t"); + args = t_strsplit_tab(args_line); if (args[0] == NULL || str_to_uint(args[0], &id) < 0) { i_error("Auth server sent broken FAIL line"); return FALSE;