Mercurial > pidgin.yaz
view libpurple/protocols/zephyr/ZCmpUIDP.c @ 24963:36897ddd3e08
This should prevent the crash in #8109 by stopping an invalid message from
getting in the queue. There is still a problem farther up from here in that
an invalid message shouldn't get this far - hopefully this will help track it
down by providing a message at the time the issue happens instead of crashing
later. Fixes #8109.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 15 Jan 2009 03:54:58 +0000 |
parents | 5fe8042783c1 |
children | a8cc50c2279f |
line wrap: on
line source
/* This file is part of the Project Athena Zephyr Notification System. * It contains source for the ZCompareUIDPred function. * * Created by: Robert French * * Copyright (c) 1987 by the Massachusetts Institute of Technology. * For copying and distribution information, see the file * "mit-copyright.h". */ #include "internal.h" int ZCompareUIDPred(notice, uid) ZNotice_t *notice; void *uid; { return (ZCompareUID(¬ice->z_uid, (ZUnique_Id_t *) uid)); } int ZCompareMultiUIDPred(notice, uid) ZNotice_t *notice; void *uid; { return (ZCompareUID(¬ice->z_multiuid, (ZUnique_Id_t *) uid)); }