Mercurial > pidgin
comparison src/protocols/irc/irc.c @ 2137:18722ae5b882
[gaim-migrate @ 2147]
i guess.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 08 Aug 2001 19:55:12 +0000 |
parents | acc11216ec5d |
children | 134058953a43 |
comparison
equal
deleted
inserted
replaced
2136:73253b36c3cb | 2137:18722ae5b882 |
---|---|
107 temp = g_slist_next(temp); | 107 temp = g_slist_next(temp); |
108 } | 108 } |
109 return; | 109 return; |
110 } | 110 } |
111 | 111 |
112 static gboolean irc_request_buddy_update(struct gaim_connection *gc) | 112 static gboolean irc_request_buddy_update(gpointer data) |
113 { | 113 { |
114 struct gaim_connection *gc = data; | |
114 struct irc_data *idata = (struct irc_data *)gc->proto_data; | 115 struct irc_data *idata = (struct irc_data *)gc->proto_data; |
115 GSList *grp = gc->groups; | 116 GSList *grp = gc->groups; |
116 GSList *person; | 117 GSList *person; |
117 struct group *g; | 118 struct group *g; |
118 struct buddy *b; | 119 struct buddy *b; |
119 struct irc_channel *u; | 120 struct irc_channel *u; |
120 | 121 |
121 if (idata->templist != NULL) | 122 if (idata->templist != NULL) |
122 return; | 123 return TRUE; |
123 | 124 |
124 idata->recblocks = 0; | 125 idata->recblocks = 0; |
125 idata->totalblocks = 1; | 126 idata->totalblocks = 1; |
126 | 127 |
127 /* First, let's check to see if we have anyone on our buddylist */ | 128 /* First, let's check to see if we have anyone on our buddylist */ |
626 | 627 |
627 g_snprintf(buf, 4096, "<b>Nick:</b> %s<br>" | 628 g_snprintf(buf, 4096, "<b>Nick:</b> %s<br>" |
628 "<b>Host:</b> %s@%s<br>" | 629 "<b>Host:</b> %s@%s<br>" |
629 "<b>Name:</b> %s<br>", res[3], res[4], res[5], res[7] + 1); | 630 "<b>Name:</b> %s<br>", res[3], res[4], res[5], res[7] + 1); |
630 | 631 |
631 g_show_info_text(buf); | 632 g_show_info_text(buf, NULL); |
632 } | 633 } |
633 | 634 |
634 g_strfreev(res); | 635 g_strfreev(res); |
635 return; | 636 return; |
636 } | 637 } |