Ignore:
Timestamp:
2010-06-01T21:51:27Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ad404ab
Parents:
3429b58 (diff), ba3233c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging head.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    r3429b58 r704dd38  
    10341034                m = g_list_append(m, exch);
    10351035
    1036                 g_snprintf( txt, 1024, "Got an invitation to chatroom %s from %s: %s", name, userinfo->sn, args->msg );
     1036                g_snprintf(txt, 1024, "Got an invitation to chatroom %s from %s: %s", name, userinfo->sn, args->msg);
    10371037
    10381038                inv->ic = ic;
     
    10401040                inv->name = g_strdup(name);
    10411041               
    1042                 imcb_ask( ic, txt, inv, oscar_accept_chat, oscar_reject_chat);
     1042                imcb_ask(ic, txt, inv, oscar_accept_chat, oscar_reject_chat);
    10431043       
    10441044                if (name)
    10451045                        g_free(name);
     1046        } else if (args->reqclass & AIM_CAPS_ICQRTF) {
     1047                // TODO: constify
     1048                char text[strlen(args->info.rtfmsg.rtfmsg)+1];
     1049                strncpy(text, args->info.rtfmsg.rtfmsg, sizeof(text));
     1050                imcb_buddy_msg(ic, normalize(userinfo->sn), text, 0, 0);
    10461051        }
    10471052
Note: See TracChangeset for help on using the changeset viewer.