Re: [PATCH v2 21/31] mailinfo: move [ps]_hdr_data to struct mailinfo
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 14, 2015, 22:57 UTC
- Message-ID
- <xmqq37xdhxcx.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <1444855557-2127-22-git-send-email-gitster@pobox.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 10 quoted lines
> @@ -995,10 +995,10 @@ static int mailinfo(struct mailinfo *mi, const char *msg, const char *patch) > > /* process the email header */ > while (read_one_header_line(&line, mi->input)) > - check_header(mi, &line, p_hdr_data, 1); > + check_header(mi, &line, mi->p_hdr_data, 1); > > handle_body(mi, &line); > - fclose(patchfile); > + fclose(mi->patchfile);
... this is the bit that should have be in 20/31.