diff src/server.c @ 931:59d9e1177ab5

[gaim-migrate @ 941] yay! let's recompile everything, again! committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 20 Sep 2000 23:35:17 +0000
parents e1a7fc4482b9
children fa681641643d
line wrap: on
line diff
--- a/src/server.c	Wed Sep 20 23:04:48 2000 +0000
+++ b/src/server.c	Wed Sep 20 23:35:17 2000 +0000
@@ -197,13 +197,17 @@
 		  char *city, char *state, char *country, int web)
 {
 	if (!USE_OSCAR) {
-	char buf2[BUF_LEN*4], buf[BUF_LEN];
-	g_snprintf(buf2, sizeof(buf2), "%s:%s:%s:%s:%s:%s:%s:%s", first,
-		   middle, last, maiden, city, state, country,
-		   (web == 1) ? "Y" : "");
-	escape_text(buf2);
-	g_snprintf(buf, sizeof(buf), "toc_set_dir %s", buf2);
-	sflap_send(buf, -1, TYPE_DATA);
+		char buf2[BUF_LEN*4], buf[BUF_LEN];
+		g_snprintf(buf2, sizeof(buf2), "%s:%s:%s:%s:%s:%s:%s:%s", first,
+			   middle, last, maiden, city, state, country,
+			   (web == 1) ? "Y" : "");
+		escape_text(buf2);
+		g_snprintf(buf, sizeof(buf), "toc_set_dir %s", buf2);
+		sflap_send(buf, -1, TYPE_DATA);
+	} else {
+		/* FIXME : some of these things are wrong, but i'm lazy */
+		aim_setdirectoryinfo(gaim_sess, gaim_conn, first, middle, last,
+				maiden, NULL, NULL, city, state, NULL, 0, web);
 	}
 }