Mercurial > pidgin.yaz
changeset 10996:acbd980d6179
[gaim-migrate @ 12837]
I hope cookie16 is always 16 bytes.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 09 Jun 2005 05:08:51 +0000 |
parents | 1e6c33ffb8f5 |
children | 137ce6382675 |
files | src/protocols/oscar/email.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/email.c Thu Jun 09 05:04:23 2005 +0000 +++ b/src/protocols/oscar/email.c Thu Jun 09 05:08:51 2005 +0000 @@ -88,7 +88,7 @@ cookie16 = aimbs_getraw(bs, 16); /* Mail cookie sent above */ /* See if we already have some info associated with this cookie */ - for (new=sess->emailinfo; (new && strncmp(cookie16, new->cookie16, 16)); new=new->next); + for (new = sess->emailinfo; (new && memcmp(cookie16, new->cookie16, 16)); new = new->next); if (new) { /* Free some of the old info, if it exists */ free(new->cookie8);