changeset 24831:667b8ae0fcee

Error messages from libxml contain their own newlines
author Mark Doliner <mark@kingant.net>
date Mon, 22 Dec 2008 23:08:26 +0000
parents fbfbebc9197e
children 1d77f138847b
files libpurple/xmlnode.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/xmlnode.c	Mon Dec 22 22:01:34 2008 +0000
+++ b/libpurple/xmlnode.c	Mon Dec 22 23:08:26 2008 +0000
@@ -662,7 +662,7 @@
 	vsnprintf(errmsg, sizeof(errmsg), msg, args);
 	va_end(args);
 
-	purple_debug_error("xmlnode", "Error parsing xml file: %s\n", errmsg);
+	purple_debug_error("xmlnode", "Error parsing xml file: %s", errmsg);
 }
 
 static xmlSAXHandler xmlnode_parser_libxml = {