diff libpurple/protocols/bonjour/mdns_avahi.c @ 18858:f773aa054dca

Clear bonjour buddy values before resetting them so that we notice value removals.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 09 Aug 2007 22:49:53 +0000
parents 2283d5bfc24b
children c1546f6c0432
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/mdns_avahi.c	Thu Aug 09 22:37:06 2007 +0000
+++ b/libpurple/protocols/bonjour/mdns_avahi.c	Thu Aug 09 22:49:53 2007 +0000
@@ -86,6 +86,7 @@
 			buddy->port_p2pj = port;
 
 			/* Obtain the parameters from the text_record */
+			clear_bonjour_buddy_values(buddy);
 			l = txt;
 			while (l != NULL) {
 				ret = avahi_string_list_get_pair(l, &key, &value, &size);