aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2013-08-12 14:40:34 -0400
committerGravatar David Bremner <bremner@debian.org>2013-08-13 17:43:07 +0200
commita7bf045fb178b5ed48e71269427cec42c21f8cd6 (patch)
tree5eaaf4b1acc5beb521ded93ee1c88fe8e42767d7 /lib
parent48f2b3f1bc279f61b78d2cb4b19e8b05e607b125 (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/notmuch.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h
index 73c85a41..9fc34ef1 100644
--- a/lib/notmuch.h
+++ b/lib/notmuch.h
@@ -1015,8 +1015,11 @@ notmuch_message_get_date (notmuch_message_t *message);
/* Get the value of the specified header from 'message'.
*
- * The value will be read from the actual message file, not from the
- * notmuch database. The header name is case insensitive.
+ * Common headers are stored in the database when the message is
+ * 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
* modified or freed by the caller (nor should it be referenced after