diff libpurple/protocols/bonjour/parser.c @ 20844:6668c0cd4687

I think this is the correct fix for CID 319 and 321. I added a note about two other cases where it appears that the xmlns isn't being compared correctly, but I'm afraid that fixing them will cause behavior change.
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 09 Oct 2007 19:28:48 +0000
parents 3e4c4a33ea35
children 5b9da9db7e81
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/parser.c	Tue Oct 09 13:41:11 2007 +0000
+++ b/libpurple/protocols/bonjour/parser.c	Tue Oct 09 19:28:48 2007 +0000
@@ -64,7 +64,7 @@
 			char *attrib_ns = NULL;
 
 			if (attributes[i+2]) {
-				attrib_ns = g_strdup((char*)attributes[i+2]);;
+				attrib_ns = g_strdup((char*)attributes[i+2]);
 			}
 
 			memcpy(attrib, attributes[i+3], attrib_len);