diff src/gaimrc.c @ 7132:d17a587efeb3

[gaim-migrate @ 7699] new blist parser code, and some tweaks to the account code to make my next commit possible. the other parser code can get moved over to this model to make things cleaner, but i'm too lazy to do it now. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 03 Oct 2003 21:49:11 +0000
parents fac483a95584
children 643cbc9a6035
line wrap: on
line diff
--- a/src/gaimrc.c	Fri Oct 03 21:10:12 2003 +0000
+++ b/src/gaimrc.c	Fri Oct 03 21:49:11 2003 +0000
@@ -1598,9 +1598,12 @@
 	for (l = buddy_pounces; l != NULL; l = l->next) {
 		GaimPounceEvent events = GAIM_POUNCE_NONE;
 		GaimGtkPounceAction actions = GAIM_GTKPOUNCE_NONE;
+		char buf[3];
+
 		ph = (struct pounce_placeholder *)l->data;
 
-		account = gaim_accounts_find(ph->pouncer, ph->protocol);
+		g_snprintf(buf, sizeof(buf), "%d", ph->protocol);
+		account = gaim_accounts_find(ph->pouncer, buf);
 		if (account == NULL)
 			continue;