comparison libpurple/protocols/jabber/jabber.c @ 27349:a71cc338f0fd

A couple more s/GSList/GList/ changes as fallout from the last change.
author Etan Reisner <pidgin@unreliablesource.net>
date Sun, 05 Jul 2009 05:49:17 +0000
parents 4fd6b50d03b3
children 01927ce552bc f541583e31bd 6d26258e9f1d
comparison
equal deleted inserted replaced
27348:e400cd35542b 27349:a71cc338f0fd
594 /* Tell the app that we're doing encryption */ 594 /* Tell the app that we're doing encryption */
595 jabber_stream_set_state(js, JABBER_STREAM_INITIALIZING_ENCRYPTION); 595 jabber_stream_set_state(js, JABBER_STREAM_INITIALIZING_ENCRYPTION);
596 } 596 }
597 597
598 static void 598 static void
599 txt_resolved_cb(GSList *responses, gpointer data) 599 txt_resolved_cb(GList *responses, gpointer data)
600 { 600 {
601 JabberStream *js = data; 601 JabberStream *js = data;
602 602
603 js->srv_query_data = NULL; 603 js->srv_query_data = NULL;
604 604
622 g_strfreev(token); 622 g_strfreev(token);
623 break; 623 break;
624 } 624 }
625 g_strfreev(token); 625 g_strfreev(token);
626 purple_txt_response_destroy(resp); 626 purple_txt_response_destroy(resp);
627 responses = g_slist_delete_link(responses, responses); 627 responses = g_list_delete_link(responses, responses);
628 } 628 }
629 629
630 if (js->bosh) { 630 if (js->bosh) {
631 jabber_bosh_connection_connect(js->bosh); 631 jabber_bosh_connection_connect(js->bosh);
632 } else { 632 } else {
633 purple_debug_info("jabber","Didn't find an alternative connection method.\n"); 633 purple_debug_info("jabber","Didn't find an alternative connection method.\n");
634 } 634 }
635 635
636 if (responses) { 636 if (responses) {
637 g_slist_foreach(responses, (GFunc)purple_txt_response_destroy, NULL); 637 g_list_foreach(responses, (GFunc)purple_txt_response_destroy, NULL);
638 g_slist_free(responses); 638 g_list_free(responses);
639 } 639 }
640 } 640 }
641 641
642 static void 642 static void
643 jabber_login_callback(gpointer data, gint source, const gchar *error) 643 jabber_login_callback(gpointer data, gint source, const gchar *error)