Changes in / [547f937:bf02a67]


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    r547f937 rbf02a67  
    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
    10881091                m = g_list_append(m, g_strdup(name ? name : args->info.chat.roominfo.name));
    10891092                *exch = args->info.chat.roominfo.exchange;
    10901093                m = g_list_append(m, exch);
    10911094
    1092                 char txt[1024];
    1093 
    10941095                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);
    10971096
    10981097                inv->gc = gc;
     
    25042503        struct oscar_data * od = (struct oscar_data*)gc->proto_data;
    25052504        struct chat_connection * ccon;
    2506        
    2507         if(!(ccon = find_oscar_chat(gc, id)))
    2508                 return -1;
    2509        
    25102505        int ret;
    25112506        guint8 len = strlen(message);
    25122507        char *s;
     2508       
     2509        if(!(ccon = find_oscar_chat(gc, id)))
     2510                return -1;
    25132511               
    25142512        for (s = message; *s; s++)
     
    26052603{
    26062604        struct oscar_data * od = (struct oscar_data *)gc->proto_data;
    2607 
     2605        int ret;
    26082606        static int chat_id = 0;
    26092607        char * chatname = g_new0(char, strlen(gc->username)+4);
     2608       
    26102609        g_snprintf(chatname, strlen(gc->username) + 4, "%s%d", gc->username, chat_id++);
    26112610 
    2612         int ret = oscar_chat_join(gc, chatname);
     2611        ret = oscar_chat_join(gc, chatname);
    26132612
    26142613        aim_chat_invite(od->sess, od->conn, who, "", 4, chatname, 0x0);
  • storage_text.c

    r547f937 rbf02a67  
    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 then names */
     32 * ids rather than names */
    3333static struct prpl *find_protocol_by_id(int id)
    3434{
Note: See TracChangeset for help on using the changeset viewer.