pidgin/pidgin

Fix brokenness in jingle_google_p2p_add_local_candidate.

16 months ago, Elliott Sales de Andrade
890547f0fa6e
Parents 66604f791698
Children d1ad503fe389
Fix brokenness in jingle_google_p2p_add_local_candidate.

This seems to have been wrong since it was written (apparently by me).
--- a/libpurple/protocols/jabber/google/google_p2p.c Tue Nov 05 20:22:20 2019 -0500
+++ b/libpurple/protocols/jabber/google/google_p2p.c Tue Nov 05 20:24:59 2019 -0500
@@ -108,8 +108,8 @@
google_p2p_candidate->generation = generation;
- priv->local_candidates = g_list_append(
- priv->local_candidates, candidate);
+ priv->local_candidates =
+ g_list_append(priv->local_candidates, google_p2p_candidate);
g_object_notify_by_pspec(G_OBJECT(google_p2p), properties[PROP_LOCAL_CANDIDATES]);