libpurple/protocols/zephyr/zephyr.c

branch
soc.2013.gobjectification.plugins
changeset 37108
73c5fb6d78b3
parent 37101
8ba9a23354ff
parent 35509
3643c71ba097
child 37114
581adbabe319
equal deleted inserted replaced
37107:6747d02cdf91 37108:73c5fb6d78b3
1439 triple = g_strsplit(buff, ",", 3); 1439 triple = g_strsplit(buff, ",", 3);
1440 if (triple[0] && triple[1]) { 1440 if (triple[0] && triple[1]) {
1441 char *tmp = g_strdup_printf("%s", zephyr->username); 1441 char *tmp = g_strdup_printf("%s", zephyr->username);
1442 char *atptr; 1442 char *atptr;
1443 1443
1444 z_class = triple[0];
1445 z_instance = triple[1]; 1444 z_instance = triple[1];
1446 if (triple[2] == NULL) { 1445 if (triple[2] == NULL) {
1447 recip = g_malloc0(1); 1446 recip = g_malloc0(1);
1448 } else if (!g_ascii_strcasecmp(triple[2], "%me%")) { 1447 } else if (!g_ascii_strcasecmp(triple[2], "%me%")) {
1449 recip = g_strdup_printf("%s", zephyr->username); 1448 recip = g_strdup_printf("%s", zephyr->username);

mercurial