libpurple/protocols/jabber/disco.c

changeset 26591
29379646de02
parent 26590
689f6f3b4d8a
child 26592
2ffecd246bfb
equal deleted inserted replaced
26590:689f6f3b4d8a 26591:29379646de02
979 purple_disco_list_set_protocol_data(list, NULL, NULL); 979 purple_disco_list_set_protocol_data(list, NULL, NULL);
980 980
981 if (list_data->fetch_count == 0) { 981 if (list_data->fetch_count == 0) {
982 /* Nothing outstanding, just free it now... */ 982 /* Nothing outstanding, just free it now... */
983 jabber_disco_list_data_destroy(list_data); 983 jabber_disco_list_data_destroy(list_data);
984 } else { 984 } else
985 /* We'll free it when the count is 0 */ 985 /* We'll free it when the count is 0 */
986 list_data->list = NULL; 986 list_data->list = NULL;
987 }
988
989 purple_disco_list_set_in_progress(list, FALSE);
990 } 987 }
991 988
992 int 989 int
993 jabber_disco_service_register(PurpleConnection *gc, PurpleDiscoService *service) 990 jabber_disco_service_register(PurpleConnection *gc, PurpleDiscoService *service)
994 { 991 {

mercurial