[Rawstudio-commit] r3231 - trunk/plugins/output-facebook

Anders Brander anders at brander.dk
Sun Feb 14 18:08:55 CET 2010


Author: abrander
Date: 2010-02-14 18:08:54 +0100 (Sun, 14 Feb 2010)
New Revision: 3231

Modified:
   trunk/plugins/output-facebook/rs-facebook-client.c
Log:
Fixed crash in xml_simple_response().

Modified: trunk/plugins/output-facebook/rs-facebook-client.c
===================================================================
--- trunk/plugins/output-facebook/rs-facebook-client.c	2010-02-14 16:54:19 UTC (rev 3230)
+++ trunk/plugins/output-facebook/rs-facebook-client.c	2010-02-14 17:08:54 UTC (rev 3231)
@@ -95,7 +95,7 @@
 
 	cur = xmlDocGetRootElement(doc);
 
-	if (!root)
+	if (!root && cur)
 		cur = cur->xmlChildrenNode;
 
 	gchar *result = NULL;




More information about the Rawstudio-commit mailing list