Changes in / [bf02a67:547f937]
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/oscar.c
rbf02a67 r547f937 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 1091 1088 m = g_list_append(m, g_strdup(name ? name : args->info.chat.roominfo.name)); 1092 1089 *exch = args->info.chat.roominfo.exchange; 1093 1090 m = g_list_append(m, exch); 1094 1091 1092 char txt[1024]; 1093 1095 1094 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); 1096 1097 1097 1098 inv->gc = gc; … … 2503 2504 struct oscar_data * od = (struct oscar_data*)gc->proto_data; 2504 2505 struct chat_connection * ccon; 2506 2507 if(!(ccon = find_oscar_chat(gc, id))) 2508 return -1; 2509 2505 2510 int ret; 2506 2511 guint8 len = strlen(message); 2507 2512 char *s; 2508 2509 if(!(ccon = find_oscar_chat(gc, id)))2510 return -1;2511 2513 2512 2514 for (s = message; *s; s++) … … 2603 2605 { 2604 2606 struct oscar_data * od = (struct oscar_data *)gc->proto_data; 2605 int ret; 2607 2606 2608 static int chat_id = 0; 2607 2609 char * chatname = g_new0(char, strlen(gc->username)+4); 2608 2609 2610 g_snprintf(chatname, strlen(gc->username) + 4, "%s%d", gc->username, chat_id++); 2610 2611 2611 ret = oscar_chat_join(gc, chatname);2612 int ret = oscar_chat_join(gc, chatname); 2612 2613 2613 2614 aim_chat_invite(od->sess, od->conn, who, "", 4, chatname, 0x0); -
storage_text.c
rbf02a67 r547f937 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 an names */32 * ids rather then names */ 33 33 static struct prpl *find_protocol_by_id(int id) 34 34 {
Note: See TracChangeset
for help on using the changeset viewer.