Mercurial > pidgin
comparison src/server.c @ 747:eec93c5929b9
[gaim-migrate @ 757]
minor changes
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 23 Aug 2000 05:43:46 +0000 |
parents | d05d746384a7 |
children | 870fcc64a709 |
comparison
equal
deleted
inserted
replaced
746:5a908dd5cfc4 | 747:eec93c5929b9 |
---|---|
270 aim_bos_setprofile(gaim_sess, gaim_conn, info, | 270 aim_bos_setprofile(gaim_sess, gaim_conn, info, |
271 NULL, gaim_caps); | 271 NULL, gaim_caps); |
272 } | 272 } |
273 } | 273 } |
274 | 274 |
275 extern gboolean change_password; | |
276 extern char *old_password; | |
277 extern char *new_password; | |
278 | |
279 void serv_change_passwd(char *orig, char *new) { | 275 void serv_change_passwd(char *orig, char *new) { |
280 if (!USE_OSCAR) { | 276 if (!USE_OSCAR) { |
281 char *buf = g_malloc(BUF_LONG); | 277 char *buf = g_malloc(BUF_LONG); |
282 g_snprintf(buf, BUF_LONG, "toc_change_passwd %s %s", orig, new); | 278 g_snprintf(buf, BUF_LONG, "toc_change_passwd %s %s", orig, new); |
283 sflap_send(buf, strlen(buf), TYPE_DATA); | 279 sflap_send(buf, strlen(buf), TYPE_DATA); |
284 g_free(buf); | 280 g_free(buf); |
285 } else { | 281 } else { |
286 if (change_password) return; | 282 /* FIXME */ |
287 change_password = TRUE; | |
288 old_password = g_strdup(orig); | |
289 new_password = g_strdup(new); | |
290 aim_bos_reqservice(gaim_sess, gaim_conn, AIM_CONN_TYPE_AUTH); | |
291 } | 283 } |
292 } | 284 } |
293 | 285 |
294 void serv_add_buddy(char *name) | 286 void serv_add_buddy(char *name) |
295 { | 287 { |