comparison libpurple/protocols/oscar/family_invite.c @ 23313: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
23312:afdbbf36499e 23313:9c0ee2491ed1
39 #include "oscar.h" 39 #include "oscar.h"
40 40
41 int invite_modfirst(OscarData *od, aim_module_t *mod) 41 int invite_modfirst(OscarData *od, aim_module_t *mod)
42 { 42 {
43 43
44 mod->family = 0x0006; 44 mod->family = SNAC_FAMILY_INVITE;
45 mod->version = 0x0001; 45 mod->version = 0x0001;
46 mod->toolid = 0x0110; 46 mod->toolid = 0x0110;
47 mod->toolversion = 0x0629; 47 mod->toolversion = 0x0629;
48 mod->flags = 0; 48 mod->flags = 0;
49 strncpy(mod->name, "invite", sizeof(mod->name)); 49 strncpy(mod->name, "invite", sizeof(mod->name));