Mercurial > pidgin.yaz
changeset 5863:98ec3e394f59
[gaim-migrate @ 6294]
This is in my way... just committing the Trepia code I was working on that
currently does nothing.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 14 Jun 2003 11:14:26 +0000 |
parents | d0a311def860 |
children | 417b1001d2b1 |
files | src/protocols/trepia/trepia.c |
diffstat | 1 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/trepia/trepia.c Sat Jun 14 07:48:44 2003 +0000 +++ b/src/protocols/trepia/trepia.c Sat Jun 14 11:14:26 2003 +0000 @@ -40,6 +40,8 @@ # include <net/if_arp.h> #endif +#define TREPIA_VERSION "2.50" + static GaimPlugin *my_protocol = NULL; typedef enum @@ -1027,7 +1029,9 @@ mac, gaim_account_get_username(account), md5_password); +#if 0 g_free(mac); +#endif if (trepia_write(session->fd, buffer, strlen(buffer)) < 0) { gaim_connection_error(session->gc, _("Write error")); @@ -1192,15 +1196,15 @@ static void trepia_register_user(GaimAccount *account) { -#if 0 char *buffer; + char *mac = "00:01:02:03:04:05"; buffer = g_strdup_printf( - "<J><a>%s</a><b1>%s</b1><c>2.0</c><d>%s</d><e>%s</e>" - "<f>%s</f><g></g><h></h><i></i><j></j><k></k><l></l>" - "<m></m></J>"); - -#endif + "<J><a>%s</a><b1>%s</b1><c>%s</c><d>%s</d><e>%s</e>" + "<f></f><g></g><h></h><i></i><j></j><k></k><l></l>" + "<m></m></J>", + mac, "", TREPIA_VERSION, gaim_account_get_username(account), + gaim_account_get_password(account)); } static GaimPluginProtocolInfo prpl_info =