diff src/dialogs.c @ 237:6ced2f1c8b24

[gaim-migrate @ 247] How cool is this, libfaim is making a comeback. I completely redid everything, as was necessary because of the updates to libfaim since gaim 0.9.7. You can sign on and send/recv IMs, but there's a bad lag between display updates that I haven't figured out how to fix yet. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 20 May 2000 00:30:53 +0000
parents 62d470738cc7
children fbf1d60668d1
line wrap: on
line diff
--- a/src/dialogs.c	Thu May 18 18:20:18 2000 +0000
+++ b/src/dialogs.c	Sat May 20 00:30:53 2000 +0000
@@ -1085,10 +1085,7 @@
 		return;
 	}
 
-	buf = g_malloc(BUF_LONG);
-	g_snprintf(buf, BUF_LONG, "toc_change_passwd %s %s", orig, new1);
-	sflap_send(buf, strlen(buf), TYPE_DATA);
-	g_free(buf);
+	serv_change_passwd(orig, new1);
 	
 	destroy_dialog(NULL, b->window);
 	g_free(b);
@@ -2098,7 +2095,7 @@
 			return;
 	}
         if ((f = fopen(path,"w"))) {
-                toc_build_config(buf, 8192 - 1);
+                serv_build_config(buf, 8192 - 1);
                 fprintf(f, "%s\n", buf);
                 fclose(f);
                 chmod(buf, S_IRUSR | S_IWUSR);