# HG changeset patch
# User Mark Doliner <mark@kingant.net>
# Date 1091983870 0
# Node ID 78da12f2982d3353483562f219daa4d8e1e166fb
# Parent  9e41c6809f85e09c99605d0ecc831d44309cf4d8
[gaim-migrate @ 10581]
Down with C99, up with C04

committer: Tailor Script <tailor@pidgin.im>

diff -r 9e41c6809f85 -r 78da12f2982d src/account.c
--- 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"));
 }