# HG changeset patch # User Christian Hammond # Date 1055369634 0 # Node ID b1fc288ffcb49e90d72b49b89712bbf9c86a2200 # Parent db204c4a411b12539fbc117887e2a0c2b7b05929 [gaim-migrate @ 6264] Fixed the version number. Thanks to Sean! He's the man! committer: Tailor Script diff -r db204c4a411b -r b1fc288ffcb4 src/protocols/trepia/trepia.c --- a/src/protocols/trepia/trepia.c Wed Jun 11 21:24:27 2003 +0000 +++ b/src/protocols/trepia/trepia.c Wed Jun 11 22:13:54 2003 +0000 @@ -156,19 +156,22 @@ #endif return mac; - - return NULL; } #endif - /************************************************************************** * Callbacks **************************************************************************/ static void save_profile_cb(GaimConnection *gc, GaimRequestFields *fields) { + char *buf, *temp; + buf = g_strdup(""); + temp = buf; + + gaim_debug(GAIM_DEBUG_MISC, "trepia", "Setting profile: {%s}\n", + buf); } static void @@ -880,26 +883,22 @@ GaimAccount *account; const char *password; char *buffer; - char *mac = "00:04:5A:50:31:DE"; - char *gateway_mac = "00:C0:F0:52:D0:A6"; + char *mac = "00:01:02:03:04:05"; char buf[3]; char md5_password[17]; md5_state_t st; md5_byte_t di[16]; int i; -#if 0 - mac = __get_mac_address(); - gateway_mac = mac; -#endif - - mac = g_strdup("01:02:03:04:05:06"); - if (source < 0) { gaim_connection_error(session->gc, _("Write error")); return; } +#if 0 + mac = __get_mac_address(); +#endif + session->fd = source; account = gaim_connection_get_account(session->gc); @@ -920,12 +919,12 @@ buffer = g_strdup_printf( "\n" "%s\n" - "%s\n" + "\n" "%s\n" "%s\n" - "2.02\n" + "2.50\n" "", - mac, gateway_mac, gaim_account_get_username(account), + mac, gaim_account_get_username(account), md5_password); g_free(mac);