mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 05:56:22 +00:00
Use autocomplete instead of hash table for subscription requests
This commit is contained in:
@@ -571,16 +571,17 @@ cons_show_software_version(const char * const jid, const char * const presence,
|
||||
void
|
||||
cons_show_received_subs(void)
|
||||
{
|
||||
GList *received = presence_get_subscription_requests();
|
||||
GSList *received = presence_get_subscription_requests();
|
||||
if (received == NULL) {
|
||||
cons_show("No outstanding subscription requests.");
|
||||
} else {
|
||||
cons_show("Outstanding subscription requests from:",
|
||||
g_list_length(received));
|
||||
g_slist_length(received));
|
||||
while (received != NULL) {
|
||||
cons_show(" %s", received->data);
|
||||
received = g_list_next(received);
|
||||
received = g_slist_next(received);
|
||||
}
|
||||
g_slist_free_full(received, g_free);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user