- this_one = safe_strdup (buf);
- else {
- safe_realloc (&this_one,
- mutt_strlen (this_one) + mutt_strlen (buf) +
- sizeof (char));
+ this_one = m_strdup(buf);
+ /* we do want to see all lines if this header doesn't feature
+ * abbreviations (curline is 0), $max_display_recips is 0 and
+ * while the number hasn't reached $max_display_recips yet */
+ else if (curline == 0 || MaxDispRecips == 0 || ++curline <= MaxDispRecips) {
+ p_realloc(&this_one, m_strlen(this_one) + m_strlen(buf) + 1);