From 64c03ae97f2f5294c60ef25d7f41849864e6ebd3 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 17 Nov 2009 17:20:32 -0800 Subject: 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. --- lib/messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/messages.c') 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 -- cgit v1.2.3