X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pop%2Fpop_lib.c;h=e34165bf763c952e880b4f48f7350fc4bef5203a;hp=763dffc3051ed1bd8d8be82ce803a3604cf48adc;hb=c8bf978fc5c4f6c793620a515fa2456a3fa9eb13;hpb=207c707f2c7073a6fbd14124197a559d9d471f65 diff --git a/pop/pop_lib.c b/pop/pop_lib.c index 763dffc..e34165b 100644 --- a/pop/pop_lib.c +++ b/pop/pop_lib.c @@ -68,9 +68,7 @@ void pop_error (POP_DATA * pop_data, char *msg) c = msg; if (!m_strncmp(msg, "-ERR ", 5)) { - c2 = msg + 5; - SKIPWS (c2); - + c2 = vskipspaces(msg + 5); if (*c2) c = c2; } @@ -87,8 +85,7 @@ static int fetch_capa (char *line, void *data) if (!ascii_strncasecmp (line, "SASL", 4)) { p_delete(&pop_data->auth_list); - c = line + 4; - SKIPWS (c); + c = vskipspaces(line + 4); pop_data->auth_list = m_strdup(c); }