comparison src/protocols/oscar/conn.c @ 11074:ba630d7a7365

[gaim-migrate @ 13083] sf patch #1233671, from Ryan McCabe eliminate the usage of ->priv in libfaim committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 09 Jul 2005 19:26:49 +0000
parents 361c9170d8af
children 0d58a17095db
comparison
equal deleted inserted replaced
11073:634fec5ed0f2 11074:ba630d7a7365
158 aim_rxqueue_cleanbyconn(sess, *deadconn); 158 aim_rxqueue_cleanbyconn(sess, *deadconn);
159 aim_tx_cleanqueue(sess, *deadconn); 159 aim_tx_cleanqueue(sess, *deadconn);
160 160
161 if ((*deadconn)->fd != -1) 161 if ((*deadconn)->fd != -1)
162 aim_conn_close(*deadconn); 162 aim_conn_close(*deadconn);
163
164 /*
165 * XXX ->priv should never be touched by the library. I know
166 * it used to be, but I'm getting rid of all that. Use
167 * ->internal instead.
168 */
169 if ((*deadconn)->priv)
170 free((*deadconn)->priv);
171 163
172 /* 164 /*
173 * This will free ->internal if it necessary... 165 * This will free ->internal if it necessary...
174 */ 166 */
175 if ((*deadconn)->type == AIM_CONN_TYPE_CHAT) 167 if ((*deadconn)->type == AIM_CONN_TYPE_CHAT)