Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/family_stats.c @ 23315:9c0ee2491ed1
Replaced family_*'s magic numbers of FLAP families with the constants
defined in snactypes.h
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sat, 07 Jun 2008 18:42:48 +0000 |
parents | 44b4e8bd759b |
children |
comparison
equal
deleted
inserted
replaced
23314:afdbbf36499e | 23315:9c0ee2491ed1 |
---|---|
50 } | 50 } |
51 | 51 |
52 int | 52 int |
53 stats_modfirst(OscarData *od, aim_module_t *mod) | 53 stats_modfirst(OscarData *od, aim_module_t *mod) |
54 { | 54 { |
55 mod->family = 0x000b; | 55 mod->family = SNAC_FAMILY_STATS; |
56 mod->version = 0x0001; | 56 mod->version = 0x0001; |
57 mod->toolid = 0x0104; | 57 mod->toolid = 0x0104; |
58 mod->toolversion = 0x0001; | 58 mod->toolversion = 0x0001; |
59 mod->flags = 0; | 59 mod->flags = 0; |
60 strncpy(mod->name, "stats", sizeof(mod->name)); | 60 strncpy(mod->name, "stats", sizeof(mod->name)); |