Mercurial > pidgin
changeset 1231:11d67bbda8ae
[gaim-migrate @ 1241]
this should fix things. i shouldn't have to do this.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 11 Dec 2000 11:13:49 +0000 |
parents | 5395053cdee1 |
children | 0c7c659fc730 |
files | src/oscar.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/oscar.c Mon Dec 11 08:11:06 2000 +0000 +++ b/src/oscar.c Mon Dec 11 11:13:49 2000 +0000 @@ -777,11 +777,14 @@ dim->gc = d->gc; g_snprintf(dim->name, sizeof dim->name, "%s", d->sn); + od->sess->flags ^= AIM_SESS_FLAGS_NONBLOCKCONNECT; if ((dim->conn = aim_directim_connect(od->sess, od->conn, d->priv)) == NULL) { + od->sess->flags ^= AIM_SESS_FLAGS_NONBLOCKCONNECT; g_free(dim); cancel_direct_im(w, d); return TRUE; } + od->sess->flags ^= AIM_SESS_FLAGS_NONBLOCKCONNECT; if (!(dim->cnv = find_conversation(d->sn))) dim->cnv = new_conversation(d->sn); g_snprintf(buf, sizeof buf, _("<B>Direct IM with %s established</B>"), d->sn);