Changeset 5a0ffa2 for protocols/skype


Ignore:
Timestamp:
2013-02-11T12:56:03Z (12 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
8e166ae
Parents:
3e23850
git-author:
Mike Kazantsev <mk.fraggod@…> (11-02-13 12:56:03)
git-committer:
Miklos Vajna <vmiklos@…> (11-02-13 12:56:03)
Message:

skype: add newline to all the lines emitted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/skype/skype.c

    r3e23850 r5a0ffa2  
    194194{
    195195        struct skype_buddy_ask_data *bla = data;
    196         skype_printf(bla->ic, "SET USER %s ISAUTHORIZED TRUE",
     196        skype_printf(bla->ic, "SET USER %s ISAUTHORIZED TRUE\n",
    197197                bla->handle);
    198198        g_free(bla->handle);
     
    203203{
    204204        struct skype_buddy_ask_data *bla = data;
    205         skype_printf(bla->ic, "SET USER %s ISAUTHORIZED FALSE",
     205        skype_printf(bla->ic, "SET USER %s ISAUTHORIZED FALSE\n",
    206206                bla->handle);
    207207        g_free(bla->handle);
     
    226226{
    227227        struct skype_buddy_ask_data *bla = data;
    228         skype_printf(bla->ic, "SET CALL %s STATUS INPROGRESS",
     228        skype_printf(bla->ic, "SET CALL %s STATUS INPROGRESS\n",
    229229                bla->handle);
    230230        g_free(bla->handle);
     
    235235{
    236236        struct skype_buddy_ask_data *bla = data;
    237         skype_printf(bla->ic, "SET CALL %s STATUS FINISHED",
     237        skype_printf(bla->ic, "SET CALL %s STATUS FINISHED\n",
    238238                bla->handle);
    239239        g_free(bla->handle);
     
    918918                        /* Number of users changed in this group, query its type to see
    919919                         * if it's a custom one we should care about. */
    920                         skype_printf(ic, "GET GROUP %s TYPE", id);
     920                        skype_printf(ic, "GET GROUP %s TYPE\n", id);
    921921                        return;
    922922                }
     
    927927
    928928                if (sg) {
    929                         skype_printf(ic, "ALTER GROUP %d ADDUSER %s", sg->id, sd->pending_user);
     929                        skype_printf(ic, "ALTER GROUP %d ADDUSER %s\n", sg->id, sd->pending_user);
    930930                        g_free(sd->pending_user);
    931931                        sd->pending_user = NULL;
     
    935935        } else if (!strcmp(info, "TYPE CUSTOM_GROUP"))
    936936                /* This one is interesting, query its users. */
    937                 skype_printf(ic, "GET GROUP %s USERS", id);
     937                skype_printf(ic, "GET GROUP %s USERS\n", id);
    938938}
    939939
     
    13381338        struct im_connection *ic = acc->ic;
    13391339
    1340         skype_printf(ic, "SET PROFILE FULLNAME %s", value);
     1340        skype_printf(ic, "SET PROFILE FULLNAME %s\n", value);
    13411341        return value;
    13421342}
     
    13471347        struct im_connection *ic = acc->ic;
    13481348
    1349         skype_printf(ic, "SET PROFILE MOOD_TEXT %s", value);
     1349        skype_printf(ic, "SET PROFILE MOOD_TEXT %s\n", value);
    13501350        return value;
    13511351}
     
    13561356        struct im_connection *ic = acc->ic;
    13571357
    1358         skype_printf(ic, "GET PROFILE PSTN_BALANCE");
     1358        skype_printf(ic, "GET PROFILE PSTN_BALANCE\n");
    13591359        return value;
    13601360}
     
    13671367        if (ptr)
    13681368                *ptr = '\0';
    1369         skype_printf(ic, "CALL %s", nick);
     1369        skype_printf(ic, "CALL %s\n", nick);
    13701370        g_free(nick);
    13711371}
     
    13761376
    13771377        if (sd->call_id) {
    1378                 skype_printf(ic, "SET CALL %s STATUS FINISHED",
     1378                skype_printf(ic, "SET CALL %s STATUS FINISHED\n",
    13791379                                sd->call_id);
    13801380                g_free(sd->call_id);
     
    14161416                        /* No such group, we need to create it, then have to
    14171417                         * add the user once it's created. */
    1418                         skype_printf(ic, "CREATE GROUP %s", group);
     1418                        skype_printf(ic, "CREATE GROUP %s\n", group);
    14191419                        sd->pending_user = g_strdup(nick);
    14201420                } else {
    1421                         skype_printf(ic, "ALTER GROUP %d ADDUSER %s", sg->id, nick);
     1421                        skype_printf(ic, "ALTER GROUP %d ADDUSER %s\n", sg->id, nick);
    14221422                }
    14231423        }
Note: See TracChangeset for help on using the changeset viewer.