Index: soup-xmlrpc-response.c
===================================================================
RCS file: /cvs/gnome/libsoup/libsoup/soup-xmlrpc-response.c,v
retrieving revision 1.3
diff -u -p -r1.3 soup-xmlrpc-response.c
--- soup-xmlrpc-response.c	2 Apr 2006 21:46:18 -0000	1.3
+++ soup-xmlrpc-response.c	6 Jun 2006 03:39:29 -0000
@@ -156,6 +156,7 @@ soup_xmlrpc_response_from_string (SoupXm
 	xmlFreeDoc (priv->doc);
 	priv->doc = newdoc;
 	priv->value = body;
+	priv->fault = fault;
 
 	return TRUE;
 
@@ -178,6 +179,14 @@ soup_xmlrpc_response_to_string (SoupXmlr
 	xmlDocDumpMemoryEnc (priv->doc, &str, &size, "UTF-8");
 
 	return str;
+}
+
+gboolean
+soup_xmlrpc_response_is_fault (SoupXmlrpcResponse *response)
+{
+	SoupXmlrpcResponsePrivate *priv = SOUP_XMLRPC_RESPONSE_GET_PRIVATE (response);
+
+	return priv->fault;
 }
 
 SoupXmlrpcValue *
Index: soup-xmlrpc-response.h
===================================================================
RCS file: /cvs/gnome/libsoup/libsoup/soup-xmlrpc-response.h,v
retrieving revision 1.1
diff -u -p -r1.1 soup-xmlrpc-response.h
--- soup-xmlrpc-response.h	14 Jun 2005 16:40:23 -0000	1.1
+++ soup-xmlrpc-response.h	6 Jun 2006 03:39:29 -0000
@@ -50,6 +50,7 @@ typedef enum {
 	SOUP_XMLRPC_VALUE_TYPE_ARRAY
 } SoupXmlrpcValueType;
 
+gboolean             soup_xmlrpc_response_is_fault  (SoupXmlrpcResponse *response);
 SoupXmlrpcValue     *soup_xmlrpc_response_get_value (SoupXmlrpcResponse *response);
 SoupXmlrpcValueType  soup_xmlrpc_value_get_type     (SoupXmlrpcValue *value);
 
