comparison src/oscar.c @ 1148:0a14a9a844cb

[gaim-migrate @ 1158] i think this should fix a few things committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 27 Nov 2000 22:58:39 +0000
parents 65e0608e19f7
children 22bf2c3ec2e3
comparison
equal deleted inserted replaced
1147:65e0608e19f7 1148:0a14a9a844cb
315 struct aim_conn_t *conn; 315 struct aim_conn_t *conn;
316 char buf[256]; 316 char buf[256];
317 char *finalauth = NULL; 317 char *finalauth = NULL;
318 struct gaim_connection *gc = new_gaim_conn(user); 318 struct gaim_connection *gc = new_gaim_conn(user);
319 struct oscar_data *odata = gc->proto_data = g_new0(struct oscar_data, 1); 319 struct oscar_data *odata = gc->proto_data = g_new0(struct oscar_data, 1);
320 gc->user = user; 320 odata->create_exchange = 0;
321 321
322 sprintf(debug_buff, _("Logging in %s\n"), user->username); 322 sprintf(debug_buff, _("Logging in %s\n"), user->username);
323 debug_print(debug_buff); 323 debug_print(debug_buff);
324 324
325 sess = g_new0(struct aim_session_t, 1); 325 sess = g_new0(struct aim_session_t, 1);
1044 debug_print("chat info: Chat Rights:\n"); 1044 debug_print("chat info: Chat Rights:\n");
1045 sprintf(debug_buff, "chat info: \tMax Concurrent Rooms: %d\n", maxrooms); 1045 sprintf(debug_buff, "chat info: \tMax Concurrent Rooms: %d\n", maxrooms);
1046 debug_print(debug_buff); 1046 debug_print(debug_buff);
1047 sprintf(debug_buff, "chat info: \tExchange List: (%d total)\n", exchangecount); 1047 sprintf(debug_buff, "chat info: \tExchange List: (%d total)\n", exchangecount);
1048 debug_print(debug_buff); 1048 debug_print(debug_buff);
1049 while (i < exchangecount) { 1049 while (i < exchangecount)
1050 sprintf(debug_buff, "chat info: \t\t%x: %s (%s/%s)\n", 1050 debug_printf("chat info: \t\t%d\n", exchanges[i++].number);
1051 exchanges[i].number,
1052 exchanges[i].name ? exchanges[i].name : "NULL",
1053 exchanges[i].charset1 ? exchanges[i].charset1 : "NULL",
1054 exchanges[i].lang1 ? exchanges[i].lang1 : "NULL");
1055 debug_print(debug_buff);
1056 i++;
1057 }
1058 if (odata->create_exchange) { 1051 if (odata->create_exchange) {
1059 sprintf(debug_buff, "creating room %s\n", odata->create_name); 1052 sprintf(debug_buff, "creating room %s\n", odata->create_name);
1060 debug_print(debug_buff); 1053 debug_print(debug_buff);
1061 aim_chatnav_createroom(sess, command->conn, odata->create_name, 1054 aim_chatnav_createroom(sess, command->conn, odata->create_name,
1062 odata->create_exchange); 1055 odata->create_exchange);