diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-05-23 13:47:28 -0600 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-23 14:04:47 -0700 |
commit | 8b4525fb3c6d79bd3a64b8f441237a4095db4e22 (patch) | |
tree | 93bd2b25f9c56999b0930e90143ff0c9dc900c16 /rsh.c | |
parent | Move B and Q decoding into check header. (diff) | |
download | tgif-8b4525fb3c6d79bd3a64b8f441237a4095db4e22.tar.xz |
Refactor commit messge handling.
- Move handle_info into main so it is called once
after everything has been parsed. This allows the removal
of a static variable and removes two duplicate calls.
- Move parsing of inbody headers into handle_commit.
This means we parse the in-body headers after we have decoded
the character set, and it removes code duplication between
handle_multipart_one_part and handle_body.
- Change the flag indicating that we have seen an in body
prefix header into another bit in seen.
This is a little more general and allows the possibility of parsing
in body headers after the body message has begun.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'rsh.c')
0 files changed, 0 insertions, 0 deletions