diff options
author | Carl Worth <cworth@cworth.org> | 2009-11-17 17:20:32 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-17 17:55:37 -0800 |
commit | 64c03ae97f2f5294c60ef25d7f41849864e6ebd3 (patch) | |
tree | 6cab7296efa38e2fb137e4b359eef0a79ed3df51 /lib/messages.c | |
parent | f7eaeff242dd08c4020401c3b2e2e1ad2f769fe0 (diff) |
add_message: Don't add any self-references to the database.
In our scheme it's illegal for any message to refer to itself, (nor
would it be useful for anything anyway). Cut these self-references off
at the source, before they trip up any internal errors.
Diffstat (limited to 'lib/messages.c')
-rw-r--r-- | lib/messages.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/messages.c b/lib/messages.c index a588f8f8..2f7c283e 100644 --- a/lib/messages.c +++ b/lib/messages.c @@ -47,7 +47,7 @@ _notmuch_message_list_create (const void *ctx) return list; } -/* Append 'node' (which can of course point to an aribtrarily long +/* Append 'node' (which can of course point to an arbitrarily long * list of nodes) to the end of 'list'. */ void |