| 2 * Group 1. This is a very special group. All connections support |
2 * Group 1. This is a very special group. All connections support |
| 3 * this group, as it does some particularly good things (like rate limiting). |
3 * this group, as it does some particularly good things (like rate limiting). |
| 4 */ |
4 */ |
| 5 |
5 |
| 6 #define FAIM_INTERNAL |
6 #define FAIM_INTERNAL |
| |
7 #define FAIM_NEED_CONN_INTERNAL |
| 7 #include <aim.h> |
8 #include <aim.h> |
| 8 |
9 |
| 9 #include "md5.h" |
10 #include "md5.h" |
| 10 |
11 |
| 11 /* Client Online (group 1, subtype 2) */ |
12 /* Client Online (group 1, subtype 2) */ |
| 286 * die, as it will default to the old version but we have |
287 * die, as it will default to the old version but we have |
| 287 * the new version hardcoded here. |
288 * the new version hardcoded here. |
| 288 */ |
289 */ |
| 289 if (mod->version >= 3) |
290 if (mod->version >= 3) |
| 290 aimbs_getrawbuf(bs, rc.unknown, sizeof(rc.unknown)); |
291 aimbs_getrawbuf(bs, rc.unknown, sizeof(rc.unknown)); |
| |
292 |
| |
293 faimdprintf(sess, 1, "--- Adding rate class %d to connection type %d: window size = %ld, clear = %ld, alert = %ld, limit = %ld, disconnect = %ld, current = %ld, max = %ld\n", rx->conn->type, rc.classid, rc.windowsize, rc.clear, rc.alert, rc.limit, rc.disconnect, rc.current, rc.max); |
| 291 |
294 |
| 292 rc_addclass(&ins->rates, &rc); |
295 rc_addclass(&ins->rates, &rc); |
| 293 } |
296 } |
| 294 |
297 |
| 295 /* |
298 /* |