Mercurial > pidgin.yaz
comparison plugins/autorecon.c @ 8250:b248c1f4efbd
[gaim-migrate @ 8973]
1) Minor changes to the network listen code again. Tim, let me know
if you have any other suggestions.
2) Changed how charsets are handled in oscar a tad bit. I think this
should guarantee that Gaim doesn't crash when people send funky
messages, or have funky away messages or really anything that is
using a charset that isn't utf8, iso-8859-1, ucs-2be, or ascii.
Ethan, this should fix the problem with that person's away message.
Although, the message itself still looks kinda funky to me. The
encoding is Windows-31J, which is apparently a valid iconv encoding?
You would know more than I.
3) Fix the following crash:
1. IM yourself a message on AIM
2. Do NOT begin to type a second message, but instead hit CTRL+up
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 13 Feb 2004 05:37:12 +0000 |
parents | b51ed4506180 |
children | d7b8eb1f0a18 |
comparison
equal
deleted
inserted
replaced
8249:b51ed4506180 | 8250:b248c1f4efbd |
---|---|
51 info = g_new0(GaimAutoRecon, 1); | 51 info = g_new0(GaimAutoRecon, 1); |
52 g_hash_table_insert(hash, account, info); | 52 g_hash_table_insert(hash, account, info); |
53 info->delay = INITIAL; | 53 info->delay = INITIAL; |
54 } else { | 54 } else { |
55 info->delay = MIN(2 * info->delay, MAXTIME); | 55 info->delay = MIN(2 * info->delay, MAXTIME); |
56 if (info->timeout != 0) | |
57 g_source_remove(info->timeout); | |
56 } | 58 } |
57 if (info->timeout != 0) | |
58 g_source_remove(info->timeout); | |
59 info->timeout = g_timeout_add(info->delay, do_signon, account); | 59 info->timeout = g_timeout_add(info->delay, do_signon, account); |
60 } else if (info != NULL) { | 60 } else if (info != NULL) { |
61 g_hash_table_remove(hash, account); | 61 g_hash_table_remove(hash, account); |
62 } | 62 } |
63 } | 63 } |