changeset 8769:0bde91a2ea4d

[gaim-migrate @ 9530] Ughhh... C99 committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 23 Apr 2004 06:14:15 +0000
parents 585f43fb52a1
children 7df86465ec82
files src/protocols/novell/nmcontact.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/novell/nmcontact.c	Fri Apr 23 01:06:24 2004 +0000
+++ b/src/protocols/novell/nmcontact.c	Fri Apr 23 06:14:15 2004 +0000
@@ -701,11 +701,11 @@
 void
 nm_folder_remove_contact(NMFolder * folder, NMContact * contact)
 {
+	GSList *node = folder->contacts;
+
 	if (folder == NULL || contact == NULL)
 		return;
 
-	GSList *node = folder->contacts;
-
 	while (node) {
 		if (contact->id == ((NMContact *) (node->data))->id) {
 			folder->contacts = g_slist_remove(folder->contacts, node->data);