aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/messages.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-17 11:07:38 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-17 17:42:32 -0800
commitf7eaeff242dd08c4020401c3b2e2e1ad2f769fe0 (patch)
treef33fbadad51b804a143bb73235a3709ca7925875 /lib/messages.c
parent24a25ffba98c1c34d92cefb9e23dd44e3be76126 (diff)
message_get_thread_id: Generate internal error if message has no thread ID.
This case was happening when a message had its own message ID in its In-Reply-To header. The thread-resolution code would find the partially constructed message, (with no thread ID yet), get garbage from this function, and then march right along with that garbage. With this commit, a self-cyclic message like this will now trigger an internal error rather than marching along silienty. (And a subsequent commit will remove the call to this function in this case.)
Diffstat (limited to 'lib/messages.c')
0 files changed, 0 insertions, 0 deletions