lib: Correct out-of-date doc comment

notmuch_message_get_header started returning some headers straight
from the database in 567bcbc, but this comment explicitly claimed all
headers were read from the message file.
This commit is contained in:
Austin Clements 2013-08-12 14:40:34 -04:00 committed by David Bremner
parent 48f2b3f1bc
commit a7bf045fb1

View file

@ -1015,8 +1015,11 @@ notmuch_message_get_date (notmuch_message_t *message);
/* Get the value of the specified header from 'message'. /* Get the value of the specified header from 'message'.
* *
* The value will be read from the actual message file, not from the * Common headers are stored in the database when the message is
* notmuch database. The header name is case insensitive. * indexed and will be returned from the database. Other headers will
* be read from the actual message file.
*
* The header name is case insensitive.
* *
* The returned string belongs to the message so should not be * The returned string belongs to the message so should not be
* modified or freed by the caller (nor should it be referenced after * modified or freed by the caller (nor should it be referenced after