changeset 1082:13df4e342cff

[gaim-migrate @ 1092] oops committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 10 Nov 2000 23:26:57 +0000
parents efcacae6acdb
children 12478dd1e9d7
files src/oscar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Fri Nov 10 22:49:02 2000 +0000
+++ b/src/oscar.c	Fri Nov 10 23:26:57 2000 +0000
@@ -586,7 +586,7 @@
 		struct aim_conn_t *tstconn = aim_newconn(sess, AIM_CONN_TYPE_CHAT, ip);
 		char *roomname = va_arg(ap, char *);
 		struct chat_connection *ccon;
-		if (tstconn == NULL || tstconn->status >= AIM_CONN_STATUS_RESOLVERR) {
+		if (tstconn == NULL || tstconn->status & AIM_CONN_STATUS_RESOLVERR) {
 			debug_print("unable to connect to chat server\n");
 			return 1;
 		}