Mercurial > pidgin
diff src/prpl.c @ 4557:53ce3af93edb
[gaim-migrate @ 4837]
- Documented prpl.h.
- Moved #defines into enums.
Sean likes it. You should too!
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 08 Feb 2003 00:26:16 +0000 |
parents | 3196d9044a45 |
children | 42d53c416bb9 |
line wrap: on
line diff
--- a/src/prpl.c Fri Feb 07 23:57:15 2003 +0000 +++ b/src/prpl.c Sat Feb 08 00:26:16 2003 +0000 @@ -47,14 +47,14 @@ void *data; }; -struct prpl *find_prpl(int prot) +struct prpl *find_prpl(GaimProtocol type) { GSList *e = protocols; struct prpl *r; while (e) { r = (struct prpl *)e->data; - if (r->protocol == prot) + if (r->protocol == type) return r; e = e->next; }