changeset 10014:41ef089e3df8

[gaim-migrate @ 10932] (12:24:50) nosnilmot: LSchiere: this fixes a crash in HEAD when creating a new account with the first prpl in the list: http://nosnilmot.com/patches/gaim-2.0.0cvs-newaccountcrashfix.patch (12:25:18) datallah: nosnilmot: that would be my fault... (12:25:23) nosnilmot: indeed it is committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 11 Sep 2004 16:25:04 +0000
parents f1f239fa8973
children ab342e285f3a
files src/gtkaccount.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Sat Sep 11 15:25:36 2004 +0000
+++ b/src/gtkaccount.c	Sat Sep 11 16:25:04 2004 +0000
@@ -1570,7 +1570,7 @@
 		/* Select the first prpl in the list*/
 		GList *prpl_list = gaim_plugins_get_protocols();
 		if (prpl_list != NULL)
-			dialog->protocol_id = ((GaimPlugin *) prpl_list->data)->info->id;
+			dialog->protocol_id = g_strdup(((GaimPlugin *) prpl_list->data)->info->id);
 	}
 	else
 	{