Mercurial > pidgin
diff src/prpl.c @ 7647:6a4d65df3f1c
[gaim-migrate @ 8290]
don't crash when double clicking on an aim buddy who is offline
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 28 Nov 2003 14:53:05 +0000 |
parents | ea2d07ad05a9 |
children | 6db061321ec4 |
line wrap: on
line diff
--- a/src/prpl.c Thu Nov 27 19:04:19 2003 +0000 +++ b/src/prpl.c Fri Nov 28 14:53:05 2003 +0000 @@ -120,7 +120,9 @@ if (prpl_info->has_send_file == NULL || prpl_info->send_file == NULL) return FALSE; + if(name) + return prpl_info->has_send_file(gc, name); - return prpl_info->has_send_file(gc, name); + return 0; }