Mercurial > pidgin
comparison src/toc.c @ 2033:705783e5ab8c
[gaim-migrate @ 2043]
fixes
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 16 Jun 2001 03:18:00 +0000 |
parents | d460cd7cf37a |
children | 3366311426df |
comparison
equal
deleted
inserted
replaced
2032:cfb9cf4655e6 | 2033:705783e5ab8c |
---|---|
163 } | 163 } |
164 | 164 |
165 static void toc_login_callback(gpointer data, gint source, GdkInputCondition cond) | 165 static void toc_login_callback(gpointer data, gint source, GdkInputCondition cond) |
166 { | 166 { |
167 struct gaim_connection *gc = data; | 167 struct gaim_connection *gc = data; |
168 struct toc_data *tdt = gc->proto_data; | 168 struct toc_data *tdt; |
169 char buf[80]; | 169 char buf[80]; |
170 | |
171 if (!g_slist_find(connections, data)) { | |
172 close(source); | |
173 return; | |
174 } | |
175 | |
176 tdt = gc->proto_data; | |
170 | 177 |
171 if (source == -1) { | 178 if (source == -1) { |
172 /* we didn't successfully connect. tdt->toc_fd is valid here */ | 179 /* we didn't successfully connect. tdt->toc_fd is valid here */ |
173 hide_login_progress(gc, "Unable to connect."); | 180 hide_login_progress(gc, "Unable to connect."); |
174 signoff(gc); | 181 signoff(gc); |