comparison plugins/chatlist.c @ 2692:c74482cb3a8b

[gaim-migrate @ 2705] there are some plugins that i wish didn't exist. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 07 Nov 2001 22:25:38 +0000
parents 0b4ef57035af
children 30828b83143d
comparison
equal deleted inserted replaced
2691:b5698b2cad87 2692:c74482cb3a8b
102 while (crs) { 102 while (crs) {
103 struct chat_room *cr = crs->data; 103 struct chat_room *cr = crs->data;
104 crs = crs->next; 104 crs = crs->next;
105 fprintf(f, "%s\n%d\n", cr->name, cr->exchange); 105 fprintf(f, "%s\n%d\n", cr->name, cr->exchange);
106 } 106 }
107 g_free(x);
107 fclose(f); 108 fclose(f);
108 } 109 }
109 110
110 static void restore_chat_prefs() 111 static void restore_chat_prefs()
111 { 112 {
128 break; 129 break;
129 } 130 }
130 cr->exchange = atoi(buf); 131 cr->exchange = atoi(buf);
131 chat_rooms = g_list_append(chat_rooms, cr); 132 chat_rooms = g_list_append(chat_rooms, cr);
132 } 133 }
134 g_free(x);
133 fclose(f); 135 fclose(f);
134 setup_buddy_chats(); 136 setup_buddy_chats();
135 } 137 }
136 138
137 static void ref_list_callback(gpointer data, char *text) 139 static void ref_list_callback(gpointer data, char *text)