Ignore:
Timestamp:
2013-02-16T14:03:56Z (8 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
3a92020
Parents:
78e103e
Message:

skype_buddy_action_list: fix missing hangup in help output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/skype/skype.c

    r78e103e rc7336ba  
    15911591
    15921592        if (ret == NULL) {
    1593                 static const struct buddy_action ba[3] = {
     1593                static const struct buddy_action ba[2] = {
    15941594                        {"CALL", "Initiate a call" },
    15951595                        {"HANGUP", "Hang up a call" },
    15961596                };
    1597 
    1598                 ret = g_list_prepend(ret, (void *) ba + 0);
     1597                int i;
     1598
     1599                for (i = 0; i < ARRAY_SIZE(ba); i++)
     1600                        ret = g_list_prepend(ret, (void *)(ba + i));
    15991601        }
    16001602
Note: See TracChangeset for help on using the changeset viewer.