Mercurial > dovecot > core-2.2
diff src/director/doveadm-connection.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 | 366b9e5fc85c |
children | 42cca8a1d179 |
line wrap: on
line diff
--- a/src/director/doveadm-connection.c Thu Apr 19 23:00:16 2012 +0300 +++ b/src/director/doveadm-connection.c Thu Apr 19 23:06:55 2012 +0300 @@ -137,7 +137,7 @@ struct ip_addr ip; unsigned int vhost_count = -1U; - args = t_strsplit(line, "\t"); + args = t_strsplit_tab(line); if (args[0] == NULL || net_addr2ip(args[0], &ip) < 0 || (args[1] != NULL && str_to_uint(args[1], &vhost_count) < 0)) { @@ -300,7 +300,7 @@ struct mail_host *host; struct ip_addr ip; - args = t_strsplit(line, "\t"); + args = t_strsplit_tab(line); if (args[0] == NULL || args[1] == NULL || net_addr2ip(args[1], &ip) < 0) { i_error("doveadm sent invalid USER-MOVE parameters: %s", line);