bonjour: refactor _match_buddies_by_address

Review Request #545 — Created Feb. 27, 2021 and submitted

Information

pidgin/pidgin
default
d99f89c08cb0

Reviewers

  • Use g_slist_find_custom instead of manual search. BonjourBuddy doesn't have NULL data in ips list.
  • Add _find_match_buddies_by_address to reduce copypaste.
  • Change comparisons order to reduce nesting.

Compile.

QuLogic
  1. Ship It!
  2. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...