comparison src/protocols/rendezvous/rendezvous.c @ 9313:78ccbda4c916

[gaim-migrate @ 10121] Make rendezvous compilable with gcc old.9x committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 19 Jun 2004 15:45:28 +0000
parents b3bda982996b
children 01c50436203e
comparison
equal deleted inserted replaced
9312:317b5b7af25c 9313:78ccbda4c916
636 { 636 {
637 GaimAccountUserSplit *split; 637 GaimAccountUserSplit *split;
638 GaimAccountOption *option; 638 GaimAccountOption *option;
639 char hostname[255]; 639 char hostname[255];
640 640
641 prpl_info.api_version = GAIM_PRPL_API_VERSION; 641 prpl_info.api_version = GAIM_PRPL_API_VERSION;
642 prpl_info.options = OPT_PROTO_NO_PASSWORD; 642 prpl_info.options = OPT_PROTO_NO_PASSWORD;
643 prpl_info.icon_spec = {"FIXME, Mark!", 0,0}; 643 prpl_info.icon_spec.format = "jpeg";
644 prpl_info.list_icon = rendezvous_prpl_list_icon; 644 prpl_info.icon_spec.width = 0;
645 prpl_info.list_emblems = rendezvous_prpl_list_emblems; 645 prpl_info.icon_spec.height = 0;
646 prpl_info.status_text = rendezvous_prpl_status_text; 646 prpl_info.list_icon = rendezvous_prpl_list_icon;
647 prpl_info.tooltip_text = rendezvous_prpl_tooltip_text; 647 prpl_info.list_emblems = rendezvous_prpl_list_emblems;
648 prpl_info.login = rendezvous_prpl_login; 648 prpl_info.status_text = rendezvous_prpl_status_text;
649 prpl_info.close = rendezvous_prpl_close; 649 prpl_info.tooltip_text = rendezvous_prpl_tooltip_text;
650 prpl_info.send_im = rendezvous_prpl_send_im; 650 prpl_info.login = rendezvous_prpl_login;
651 prpl_info.set_away = rendezvous_prpl_set_away; 651 prpl_info.close = rendezvous_prpl_close;
652 prpl_info.send_im = rendezvous_prpl_send_im;
653 prpl_info.set_away = rendezvous_prpl_set_away;
652 654
653 if (gethostname(hostname, 255) != 0) { 655 if (gethostname(hostname, 255) != 0) {
654 gaim_debug_warning("rendezvous", "Error %d when getting host name. Using \"localhost.\"\n", errno); 656 gaim_debug_warning("rendezvous", "Error %d when getting host name. Using \"localhost.\"\n", errno);
655 strcpy(hostname, "localhost"); 657 strcpy(hostname, "localhost");
656 } 658 }