Mercurial > pidgin
comparison libpurple/protocols/oscar/msgcookie.c @ 22915:75c2382d54d1
Fix function to match header definition
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 12 May 2008 02:27:24 +0000 |
parents | 44b4e8bd759b |
children | 59f4012b2b94 |
comparison
equal
deleted
inserted
replaced
22914:8f353a311895 | 22915:75c2382d54d1 |
---|---|
130 * @param type type of the cookie to look for | 130 * @param type type of the cookie to look for |
131 * @return returns a pointer to the cookie struct (still in the list) | 131 * @return returns a pointer to the cookie struct (still in the list) |
132 * on success; returns NULL on error/not found | 132 * on success; returns NULL on error/not found |
133 */ | 133 */ |
134 | 134 |
135 IcbmCookie *aim_checkcookie(OscarData *od, const guint8 *cookie, int type) | 135 IcbmCookie *aim_checkcookie(OscarData *od, const guint8 *cookie, const int type) |
136 { | 136 { |
137 IcbmCookie *cur; | 137 IcbmCookie *cur; |
138 | 138 |
139 for (cur = od->msgcookies; cur; cur = cur->next) { | 139 for (cur = od->msgcookies; cur; cur = cur->next) { |
140 if ((cur->type == type) && | 140 if ((cur->type == type) && |