Mercurial > pidgin
changeset 12723:20f5daedcccb
[gaim-migrate @ 15067]
Fix a possible segfault from my file transfer change last night.
This was pointed out by Julien Cegarra in sf patch #1397203
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 04 Jan 2006 23:05:22 +0000 |
parents | d6fa227827a1 |
children | 10ef9171ca87 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Wed Jan 04 23:04:34 2006 +0000 +++ b/src/protocols/oscar/oscar.c Wed Jan 04 23:05:22 2006 +0000 @@ -2654,7 +2654,7 @@ * file transfer, and don't allow sending to ourselves. */ if (userinfo && (userinfo->capabilities & AIM_CAPS_SENDFILE) && - strcmp(who, gc->display_name)) + aim_sncmp(who, gaim_account_get_username(gaim_connection_get_account(gc)))) { return TRUE; }