Mercurial > pidgin.yaz
view libpurple/protocols/sametime/sametime.h @ 16628:36981d83b20c
Fix a crash when removing a per-account icon. Here's my explanation:
21:45:22 rlaager: Since we're not saving the buddy icon path to disk (which, as I mentioned earlier, only exists because of QQ), we end up with that being NULL, which is fine.
21:46:08 rlaager: Where fine = fine, as long as we don't care about QQ and if we do, my changes didn't change that behavior, so it's no worse. ;)
21:46:33 rlaager: The crash in the buddy icon code happens because filename is NULL. In that case, we can return, because the image_deleting_cb is only concerned with those PurpleStoredImages that were created by the buddy icon code. I'll commit the fix.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 29 Apr 2007 02:49:23 +0000 |
parents | 32c366eeeb99 |
children |
line wrap: on
line source
/* CFLAGS trumps configure values */ /** default host for the purple plugin. You can specialize a build to default to your server by supplying this at compile time */ #ifndef MW_PLUGIN_DEFAULT_HOST #define MW_PLUGIN_DEFAULT_HOST "" #endif /* "" */ /** default port for the purple plugin. You can specialize a build to default to your server by supplying this at compile time */ #ifndef MW_PLUGIN_DEFAULT_PORT #define MW_PLUGIN_DEFAULT_PORT 1533 #endif /* 1533 */ /** default encoding for the purple plugin.*/ #ifndef MW_PLUGIN_DEFAULT_ENCODING #define MW_PLUGIN_DEFAULT_ENCODING "ISO-8859-1" #endif /* ISO-8859-1 */