Changeset 5a0ffa2 for protocols/skype
- Timestamp:
- 2013-02-11T12:56:03Z (12 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/skype/skype.c
r3e23850 r5a0ffa2 194 194 { 195 195 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", 197 197 bla->handle); 198 198 g_free(bla->handle); … … 203 203 { 204 204 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", 206 206 bla->handle); 207 207 g_free(bla->handle); … … 226 226 { 227 227 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", 229 229 bla->handle); 230 230 g_free(bla->handle); … … 235 235 { 236 236 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", 238 238 bla->handle); 239 239 g_free(bla->handle); … … 918 918 /* Number of users changed in this group, query its type to see 919 919 * 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); 921 921 return; 922 922 } … … 927 927 928 928 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); 930 930 g_free(sd->pending_user); 931 931 sd->pending_user = NULL; … … 935 935 } else if (!strcmp(info, "TYPE CUSTOM_GROUP")) 936 936 /* 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); 938 938 } 939 939 … … 1338 1338 struct im_connection *ic = acc->ic; 1339 1339 1340 skype_printf(ic, "SET PROFILE FULLNAME %s ", value);1340 skype_printf(ic, "SET PROFILE FULLNAME %s\n", value); 1341 1341 return value; 1342 1342 } … … 1347 1347 struct im_connection *ic = acc->ic; 1348 1348 1349 skype_printf(ic, "SET PROFILE MOOD_TEXT %s ", value);1349 skype_printf(ic, "SET PROFILE MOOD_TEXT %s\n", value); 1350 1350 return value; 1351 1351 } … … 1356 1356 struct im_connection *ic = acc->ic; 1357 1357 1358 skype_printf(ic, "GET PROFILE PSTN_BALANCE ");1358 skype_printf(ic, "GET PROFILE PSTN_BALANCE\n"); 1359 1359 return value; 1360 1360 } … … 1367 1367 if (ptr) 1368 1368 *ptr = '\0'; 1369 skype_printf(ic, "CALL %s ", nick);1369 skype_printf(ic, "CALL %s\n", nick); 1370 1370 g_free(nick); 1371 1371 } … … 1376 1376 1377 1377 if (sd->call_id) { 1378 skype_printf(ic, "SET CALL %s STATUS FINISHED ",1378 skype_printf(ic, "SET CALL %s STATUS FINISHED\n", 1379 1379 sd->call_id); 1380 1380 g_free(sd->call_id); … … 1416 1416 /* No such group, we need to create it, then have to 1417 1417 * add the user once it's created. */ 1418 skype_printf(ic, "CREATE GROUP %s ", group);1418 skype_printf(ic, "CREATE GROUP %s\n", group); 1419 1419 sd->pending_user = g_strdup(nick); 1420 1420 } 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); 1422 1422 } 1423 1423 }
Note: See TracChangeset
for help on using the changeset viewer.