changeset 9720:78da12f2982d

[gaim-migrate @ 10581] Down with C99, up with C04 committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 08 Aug 2004 16:51:10 +0000
parents 9e41c6809f85
children 7efff7985e5d
files src/account.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/account.c	Sun Aug 08 16:49:55 2004 +0000
+++ b/src/account.c	Sun Aug 08 16:51:10 2004 +0000
@@ -730,9 +730,11 @@
 const char *
 gaim_account_get_protocol_name(const GaimAccount *account)
 {
+	GaimPlugin *p;
+
 	g_return_val_if_fail(account != NULL, NULL);
 
-	GaimPlugin *p = gaim_find_prpl(account->protocol_id);
+	p = gaim_find_prpl(account->protocol_id);
 
 	return ((p && p->info->name) ? _(p->info->name) : _("Unknown"));
 }