Mercurial > pidgin
diff src/server.c @ 331:f3c8d79688db
[gaim-migrate @ 341]
GAIM DOES ICQ!!!! CATCHING UP TO EVERYBUDDY! :)
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 03 Jun 2000 07:25:42 +0000 |
parents | cea40691706c |
children | 71be288e7578 |
line wrap: on
line diff
--- a/src/server.c Sat Jun 03 00:53:28 2000 +0000 +++ b/src/server.c Sat Jun 03 07:25:42 2000 +0000 @@ -260,12 +260,22 @@ #endif } +extern gboolean change_password; +extern char *old_password; +extern char *new_password; + void serv_change_passwd(char *orig, char *new) { #ifndef USE_OSCAR char *buf = g_malloc(BUF_LONG); g_snprintf(buf, BUF_LONG, "toc_change_passwd %s %s", orig, new); sflap_send(buf, strlen(buf), TYPE_DATA); g_free(buf); +#else + if (change_password) return; + change_password = TRUE; + old_password = g_strdup(orig); + new_password = g_strdup(new); + aim_bos_reqservice(gaim_sess, gaim_conn, AIM_CONN_TYPE_AUTH); #endif }