# HG changeset patch # User Evan Schoenberg # Date 1215872554 0 # Node ID 56cf59d028f7cc0e504432f7338b69b7e9fb0586 # Parent 35673f4abf464bf42c27125d7269084f59ef4970 Gadu-Gadu Get Info isn't behaving properly. Added debug logging to its traking of sequence numbers which allow it to associate requests to GGPSearchForm objects. Refs #6296 diff -r 35673f4abf46 -r 56cf59d028f7 libpurple/protocols/gg/gg.c --- a/libpurple/protocols/gg/gg.c Fri Jul 11 15:27:41 2008 +0000 +++ b/libpurple/protocols/gg/gg.c Sat Jul 12 14:22:34 2008 +0000 @@ -527,9 +527,11 @@ form->offset = g_strdup(form->last_uin); ggp_search_remove(info->searches, form->seq); + purple_debug_info("gg", "ggp_callback_show_next(): Removed seq %u", form->seq); seq = ggp_search_start(gc, form); ggp_search_add(info->searches, seq, form); + purple_debug_info("gg", "ggp_callback_show_next(): Added seq %u", seq); } /* }}} */ @@ -607,6 +609,7 @@ seq = ggp_search_start(gc, form); ggp_search_add(info->searches, seq, form); + purple_debug_info("gg", "ggp_callback_find_buddies(): Added seq %u", seq); } /* }}} */ @@ -991,6 +994,7 @@ GGPInfo *info = form->user_data; ggp_search_remove(info->searches, form->seq); + purple_debug_info("gg", "ggp_sr_close_cb(): Removed seq %u", form->seq); ggp_search_form_destroy(form); } /* }}} */ @@ -1206,7 +1210,7 @@ seq = gg_pubdir50_seq(req); form = ggp_search_get(info->searches, seq); - + purple_debug_info("gg", "ggp_pubdir_reply_handler(): seq %u --> form %p", seq, form); /* * this can happen when user will request more results * and close the results window before they arrive. @@ -1819,6 +1823,7 @@ seq = ggp_search_start(gc, form); ggp_search_add(info->searches, seq, form); + purple_debug_info("gg", "ggp_get_info(): Added seq %u", seq); } /* }}} */