]> git.notmuchmail.org Git - notmuch/commit
Add an INTERNAL_ERROR macro and use it for all internal errors.
authorCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 17:22:41 +0000 (10:22 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 17:54:49 +0000 (10:54 -0700)
commit7b227a6bf7eb409b4353adc430b2545166e0c4cd
tree9b82d6e3bec4596fdbbec6a7c449e00e3e19ad03
parent3b8e3ab666a54407f9596a53c66ba8ce623ac91d
Add an INTERNAL_ERROR macro and use it for all internal errors.

We were previously just doing fprintf;exit at each point, but I
wanted to add file and line-number details to all messages, so it
makes sense to use a single macro for that.
database.cc
message-file.c
message.cc
notmuch-private.h
notmuch.c
query.cc
xutil.c