- pop_data->auth_list = mem_malloc (strlen (line) + 1);
- *pop_data->auth_list = '\0';
- }
- else {
- mem_realloc (&pop_data->auth_list,
- strlen (pop_data->auth_list) + strlen (line) + 2);
- strcat (pop_data->auth_list, " "); /* __STRCAT_CHECKED__ */
+ auth_list_len = m_strlen(line) + 1;
+ pop_data->auth_list = p_new(char, auth_list_len);
+ } else {
+ auth_list_len = m_strlen(pop_data->auth_list) + m_strlen(line) + 2;
+ p_realloc(&pop_data->auth_list, auth_list_len);
+ m_strcat(pop_data->auth_list, auth_list_len, " ");