Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.h @ 23744:3c3032be12de
Restrict buddy icon downloads from arbitrary urls to 200kB.
Also, cancel buddy icon downloads when disconnecting.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sat, 09 Aug 2008 01:58:27 +0000 |
parents | 9bf36aad8735 |
children | 0700833f0c5d e22bcca9f2b2 9ab681f23007 3d4ce9df0d48 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.h Fri Aug 08 23:34:27 2008 +0000 +++ b/libpurple/protocols/jabber/jabber.h Sat Aug 09 01:58:27 2008 +0000 @@ -236,6 +236,11 @@ PurpleSrvResponse *srv_rec; guint srv_rec_idx; guint max_srv_rec_idx; + /** + * This linked list contains PurpleUtilFetchUrlData structs + * for when we lookup buddy icons from a url + */ + GSList *url_datas; }; typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *shortname, const gchar *namespace);