summaryrefslogtreecommitdiff
path: root/lib/message-file.c
AgeCommit message (Collapse)Author
2009-11-17message_file_get_header: Use break where more clear than continue.Carl Worth
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.
2009-11-17Close message file after parsing message headersMikhail Gusarov
Keeping unused files open helps to see "Too many open files" often. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2009-11-11notmuch show: Avoid segmentation for message with no subject.Carl Worth
It's safer to return an empty string rather than NULL for missing header values.
2009-11-09libify: Move library sources down into lib directory.Carl Worth
A "make" invocation still works from the top-level, but not from down inside the lib directory yet.