Mercurial > pidgin.yaz
comparison src/protocols/gg/gg.c @ 4227:a614423c648f
[gaim-migrate @ 4471]
This is a patch from Nathan Walp that adds a
"char server_alias[BUDDY_ALIAS_MAXLEN]" to struct buddy, and a preference
option to show the server alias instead of the alias set by you. It
shouldn't cause any problems. But then again, faceprint is a crazy patch
writer, with an emphasis on crazy, if you know what I mean. Huh? Get it?
"Crazy"? I kill me. But right after I kill Time Warner.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 07 Jan 2003 17:44:34 +0000 |
parents | 511c2b63caa4 |
children | c1857c9c912d |
comparison
equal
deleted
inserted
replaced
4226:a7d1eddc0afc | 4227:a614423c648f |
---|---|
1 /* | 1 /* |
2 * gaim - Gadu-Gadu Protocol Plugin | 2 * gaim - Gadu-Gadu Protocol Plugin |
3 * $Id: gg.c 4432 2003-01-04 21:01:32Z chipx86 $ | 3 * $Id: gg.c 4471 2003-01-07 17:44:34Z thekingant $ |
4 * | 4 * |
5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> | 5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> |
6 * | 6 * |
7 * This program is free software; you can redistribute it and/or modify | 7 * This program is free software; you can redistribute it and/or modify |
8 * it under the terms of the GNU General Public License as published by | 8 * it under the terms of the GNU General Public License as published by |
1021 struct buddy *b = m->data; | 1021 struct buddy *b = m->data; |
1022 gchar *newdata; | 1022 gchar *newdata; |
1023 /* GG Number */ | 1023 /* GG Number */ |
1024 gchar *name = gg_urlencode(b->name); | 1024 gchar *name = gg_urlencode(b->name); |
1025 /* GG Pseudo */ | 1025 /* GG Pseudo */ |
1026 gchar *show = gg_urlencode(strlen(b->show) ? b->show : b->name); | 1026 gchar *show = gg_urlencode(get_buddy_alias(b)); |
1027 /* Group Name */ | 1027 /* Group Name */ |
1028 gchar *gname = gg_urlencode(g->name); | 1028 gchar *gname = gg_urlencode(g->name); |
1029 | 1029 |
1030 ptr = he->request; | 1030 ptr = he->request; |
1031 newdata = g_strdup_printf("%s;%s;%s;%s;%s;%s;%s\r\n", | 1031 newdata = g_strdup_printf("%s;%s;%s;%s;%s;%s;%s\r\n", |