c = msg;
if (!m_strncmp(msg, "-ERR ", 5)) {
- c2 = msg + 5;
- SKIPWS (c2);
-
+ c2 = vskipspaces(msg + 5);
if (*c2)
c = c2;
}
m_strcpy(t, sizeof(pop_data->err_msg) - strlen(pop_data->err_msg), c);
- str_skip_trailws (pop_data->err_msg);
+ m_strrtrim(pop_data->err_msg);
}
/* Parse CAPA output */
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);
}