# HG changeset patch # User Eric Warmenhoven # Date 975366410 0 # Node ID 22bf2c3ec2e3f34537a5edc104b6ee232b274b49 # Parent 0a14a9a844cbac8945701b31f44e41adee06d881 [gaim-migrate @ 1159] minor details committer: Tailor Script diff -r 0a14a9a844cb -r 22bf2c3ec2e3 src/oscar.c --- a/src/oscar.c Mon Nov 27 22:58:39 2000 +0000 +++ b/src/oscar.c Mon Nov 27 23:06:50 2000 +0000 @@ -253,7 +253,7 @@ struct aim_conn_t *conn = (struct aim_conn_t *)data; struct gaim_connection *gc = find_gaim_conn_by_oscar_conn(conn); struct oscar_data *odata = (struct oscar_data *)gc->proto_data; - if (!gc) { + if (!g_slist_find(connections, gc)) { /* oh boy. this is probably bad. i guess the only thing we can really do * is return? */ debug_print("oscar callback for closed connection.\n"); @@ -1049,8 +1049,7 @@ while (i < exchangecount) debug_printf("chat info: \t\t%d\n", exchanges[i++].number); if (odata->create_exchange) { - sprintf(debug_buff, "creating room %s\n", odata->create_name); - debug_print(debug_buff); + debug_printf("creating room %s\n", odata->create_name); aim_chatnav_createroom(sess, command->conn, odata->create_name, odata->create_exchange); odata->create_exchange = 0;