aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/message-file.c
Commit message (Collapse)AuthorAge
* message_file_get_header: Use break where more clear than continue.Gravatar Carl Worth2009-11-17
| | | | | | Calling continue here worked only because we set a flag before the continue, and, check the flag at the beginning of the loop, and *then* break. It's much more clear to just break in the first place.
* Close message file after parsing message headersGravatar Mikhail Gusarov2009-11-17
| | | | | | Keeping unused files open helps to see "Too many open files" often. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
* notmuch show: Avoid segmentation for message with no subject.Gravatar Carl Worth2009-11-11
| | | | | It's safer to return an empty string rather than NULL for missing header values.
* libify: Move library sources down into lib directory.Gravatar Carl Worth2009-11-09
A "make" invocation still works from the top-level, but not from down inside the lib directory yet.