Changes in / [547f937:bf02a67]
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/oscar.c
r547f937 rbf02a67 1086 1086 int *exch = g_new0(int, 1); 1087 1087 GList *m = NULL; 1088 char txt[1024]; 1089 struct aim_chat_invitation * inv = g_new0(struct aim_chat_invitation, 1); 1090 1088 1091 m = g_list_append(m, g_strdup(name ? name : args->info.chat.roominfo.name)); 1089 1092 *exch = args->info.chat.roominfo.exchange; 1090 1093 m = g_list_append(m, exch); 1091 1094 1092 char txt[1024];1093 1094 1095 g_snprintf( txt, 1024, "Got an invitation to chatroom %s from %s: %s", name, userinfo->sn, args->msg ); 1095 1096 struct aim_chat_invitation * inv = g_new0(struct aim_chat_invitation, 1);1097 1096 1098 1097 inv->gc = gc; … … 2504 2503 struct oscar_data * od = (struct oscar_data*)gc->proto_data; 2505 2504 struct chat_connection * ccon; 2506 2507 if(!(ccon = find_oscar_chat(gc, id)))2508 return -1;2509 2510 2505 int ret; 2511 2506 guint8 len = strlen(message); 2512 2507 char *s; 2508 2509 if(!(ccon = find_oscar_chat(gc, id))) 2510 return -1; 2513 2511 2514 2512 for (s = message; *s; s++) … … 2605 2603 { 2606 2604 struct oscar_data * od = (struct oscar_data *)gc->proto_data; 2607 2605 int ret; 2608 2606 static int chat_id = 0; 2609 2607 char * chatname = g_new0(char, strlen(gc->username)+4); 2608 2610 2609 g_snprintf(chatname, strlen(gc->username) + 4, "%s%d", gc->username, chat_id++); 2611 2610 2612 intret = oscar_chat_join(gc, chatname);2611 ret = oscar_chat_join(gc, chatname); 2613 2612 2614 2613 aim_chat_invite(od->sess, od->conn, who, "", 4, chatname, 0x0); -
storage_text.c
r547f937 rbf02a67 30 30 /* DO NOT USE THIS FUNCTION IN NEW CODE. This 31 31 * function is here merely because the save/load code still uses 32 * ids rather th en names */32 * ids rather than names */ 33 33 static struct prpl *find_protocol_by_id(int id) 34 34 {
Note: See TracChangeset
for help on using the changeset viewer.