Changes in / [bf02a67:547f937]


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    rbf02a67 r547f937  
    10861086                int *exch = g_new0(int, 1);
    10871087                GList *m = NULL;
    1088                 char txt[1024];
    1089                 struct aim_chat_invitation * inv = g_new0(struct aim_chat_invitation, 1);
    1090 
    10911088                m = g_list_append(m, g_strdup(name ? name : args->info.chat.roominfo.name));
    10921089                *exch = args->info.chat.roominfo.exchange;
    10931090                m = g_list_append(m, exch);
    10941091
     1092                char txt[1024];
     1093
    10951094                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);
    10961097
    10971098                inv->gc = gc;
     
    25032504        struct oscar_data * od = (struct oscar_data*)gc->proto_data;
    25042505        struct chat_connection * ccon;
     2506       
     2507        if(!(ccon = find_oscar_chat(gc, id)))
     2508                return -1;
     2509       
    25052510        int ret;
    25062511        guint8 len = strlen(message);
    25072512        char *s;
    2508        
    2509         if(!(ccon = find_oscar_chat(gc, id)))
    2510                 return -1;
    25112513               
    25122514        for (s = message; *s; s++)
     
    26032605{
    26042606        struct oscar_data * od = (struct oscar_data *)gc->proto_data;
    2605         int ret;
     2607
    26062608        static int chat_id = 0;
    26072609        char * chatname = g_new0(char, strlen(gc->username)+4);
    2608        
    26092610        g_snprintf(chatname, strlen(gc->username) + 4, "%s%d", gc->username, chat_id++);
    26102611 
    2611         ret = oscar_chat_join(gc, chatname);
     2612        int ret = oscar_chat_join(gc, chatname);
    26122613
    26132614        aim_chat_invite(od->sess, od->conn, who, "", 4, chatname, 0x0);
  • storage_text.c

    rbf02a67 r547f937  
    3030/* DO NOT USE THIS FUNCTION IN NEW CODE. This
    3131 * function is here merely because the save/load code still uses
    32  * ids rather than names */
     32 * ids rather then names */
    3333static struct prpl *find_protocol_by_id(int id)
    3434{
Note: See TracChangeset for help on using the changeset viewer.