libpurple/protocols/zephyr/ZCmpUID.c

branch
release-2.x.y
changeset 43264
50facee54d1d
parent 43263
b9cf92c8b16b
equal deleted inserted replaced
43263:b9cf92c8b16b 43264:50facee54d1d
1 /* This file is part of the Project Athena Zephyr Notification System.
2 * It contains source for the ZCompareUID function.
3 *
4 * Created by: Robert French
5 *
6 * Copyright (c) 1987 by the Massachusetts Institute of Technology.
7 * For copying and distribution information, see the file
8 * "mit-copyright.h".
9 */
10
11 #include "internal.h"
12
13 int
14 ZCompareUID(ZUnique_Id_t *uid1, ZUnique_Id_t *uid2)
15 {
16 return (!memcmp((char *)uid1, (char *)uid2, sizeof (*uid1)));
17 }

mercurial