]> git.notmuchmail.org Git - notmuch/commit
Avoid bogus internal error reporting duplicate In-Reply-To IDs.
authorCarl Worth <cworth@cworth.org>
Sat, 28 Nov 2009 18:01:22 +0000 (10:01 -0800)
committerCarl Worth <cworth@cworth.org>
Sat, 28 Nov 2009 18:01:22 +0000 (10:01 -0800)
commit64c8d6227a90ea6c37ea112ee20b14f16b9b46e7
tree3dbb13c0deb71f46f26a98d006e9f646d86eebd2
parent0a7bd1c728390efc5cc000987f6dd42638314328
Avoid bogus internal error reporting duplicate In-Reply-To IDs.

This error was tirggered with a debugging build via:

make CXXFLAGS="-DDEBUG"

and reported by David Bremner. The actual error is that I'm an
idiot that doesn't know how to use strcmp's return value. Of
course, the strcmp interface scores a negative 7 on Rusty Russell
ranking of bad interfaces:

http://ozlabs.org/~rusty/index.cgi/tech/2008-04-01.html
lib/message.cc