Changeset 7b23afd for protocols/oscar
- Timestamp:
- 2005-11-07T16:16:18Z (19 years ago)
- Branches:
- master
- Children:
- f7f3ada
- Parents:
- fe51bcf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/oscar.c
rfe51bcf r7b23afd 364 364 odata->icq = TRUE; 365 365 /* this is odd but it's necessary for a proper do_import and do_export */ 366 gc->protocol = PROTO_ICQ;367 366 gc->password[8] = 0; 368 367 } else { 369 gc->protocol = PROTO_TOC;370 368 gc->flags |= OPT_CONN_HTML; 371 369 } … … 2467 2465 } 2468 2466 2469 static struct prpl *my_protocol = NULL; 2470 2471 void oscar_init(struct prpl *ret) { 2472 ret-> protocol = PROTO_OSCAR;2467 void oscar_init() 2468 { 2469 struct prpl *ret = g_new0(struct prpl, 1); 2470 ret->name = "oscar"; 2473 2471 ret->away_states = oscar_away_states; 2474 2472 ret->login = oscar_login; … … 2488 2486 ret->get_status_string = oscar_get_status_string; 2489 2487 2490 my_protocol = ret;2491 } 2488 register_protocol(ret); 2489 }
Note: See TracChangeset
for help on using the changeset viewer.