diff src/dialogs.c @ 1102:d7944415b1cc

[gaim-migrate @ 1112] updates to changelog, fix for potential segfault in buddy.c, making dir info in server.c connection-based, and making gaim dependent on toc/rvous only for build_toc_config and parse_toc_buddy_list (and of course, toc_init). committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 16 Nov 2000 23:51:49 +0000
parents 56c7ceb986a8
children c73736fa0b7c
line wrap: on
line diff
--- a/src/dialogs.c	Thu Nov 16 10:06:12 2000 +0000
+++ b/src/dialogs.c	Thu Nov 16 23:51:49 2000 +0000
@@ -1180,7 +1180,9 @@
 	char *country = gtk_entry_get_text(GTK_ENTRY(b->country));
 
 
-        serv_set_dir(first, middle, last, maiden, city, state, country, web);
+	/* FIXME */
+        if (connections)
+		serv_set_dir(connections->data, first, middle, last, maiden, city, state, country, web);
 
         destroy_dialog(NULL, b->window);
 	g_free(b);
@@ -1939,7 +1941,9 @@
 	state = gtk_entry_get_text(GTK_ENTRY(b->stateentry)); 
 	country = gtk_entry_get_text(GTK_ENTRY(b->countryentry)); 
 
-        serv_dir_search(first, middle, last, maiden, city, state, country, "");
+	/* FIXME */
+	if (connections)
+		serv_dir_search(connections->data, first, middle, last, maiden, city, state, country, "");
         destroy_dialog(NULL, b->window);
 } 
 
@@ -1949,7 +1953,9 @@
 
 	email = gtk_entry_get_text(GTK_ENTRY(b->emailentry));
 	
-        serv_dir_search("","","","","","","", email);
+	/* FIXME */
+	if (connections)
+		serv_dir_search(connections->data, "","","","","","","", email);
  
 	destroy_dialog(NULL, b->window);
 }