comparison libpurple/protocols/oscar/flap_connection.c @ 29327:2e3e0801de29

optimization to the oscar prpl to use less memory, care of Shaun Lindsay at Meebo. I suspect this will save a few kilobytes per AIM or ICQ account.
author Mark Doliner <mark@kingant.net>
date Wed, 03 Feb 2010 00:05:22 +0000
parents 89bece95a522
children 0616027add19
comparison
equal deleted inserted replaced
29326:89bece95a522 29327:2e3e0801de29
118 118
119 if (g_hash_table_lookup(rateclass->members, key)) 119 if (g_hash_table_lookup(rateclass->members, key))
120 return rateclass; 120 return rateclass;
121 } 121 }
122 122
123 return NULL; 123 return conn->default_rateclass;
124 } 124 }
125 125
126 /* 126 /*
127 * Attempt to calculate what our new current average would be if we 127 * Attempt to calculate what our new current average would be if we
128 * were to send a SNAC in this rateclass at the given time. 128 * were to send a SNAC in this rateclass at the given time.