comparison src/protocols/oscar/conn.c @ 2734:9fc65bb80596

[gaim-migrate @ 2747] it's 6am committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 17 Nov 2001 13:57:30 +0000
parents 441b84ab7f4e
children 9467e4ee81be
comparison
equal deleted inserted replaced
2733:eeac6ea7ade6 2734:9fc65bb80596
5 * Does all this gloriously nifty connection handling stuff... 5 * Does all this gloriously nifty connection handling stuff...
6 * 6 *
7 */ 7 */
8 8
9 #define FAIM_INTERNAL 9 #define FAIM_INTERNAL
10 #define FAIM_NEED_CONN_INTERNAL
10 #include <aim.h> 11 #include <aim.h>
11 12
12 #ifndef _WIN32 13 #ifndef _WIN32
13 #include <netdb.h> 14 #include <netdb.h>
14 #include <sys/socket.h> 15 #include <sys/socket.h>
125 { 126 {
126 struct rateclass *rc; 127 struct rateclass *rc;
127 128
128 for (rc = *head; rc; ) { 129 for (rc = *head; rc; ) {
129 struct rateclass *tmp; 130 struct rateclass *tmp;
131 struct snacpair *sp;
130 132
131 tmp = rc->next; 133 tmp = rc->next;
134
135 for (sp = rc->members; sp; ) {
136 struct snacpair *tmpsp;
137
138 tmpsp = sp->next;
139 free(sp);
140 sp = tmpsp;
141 }
132 free(rc); 142 free(rc);
143
133 rc = tmp; 144 rc = tmp;
134 } 145 }
135 146
136 *head = NULL; 147 *head = NULL;
137 148