? tests/.deps
? tests/.libs
Index: libsoup/soup-xmlrpc-response.c
===================================================================
RCS file: /cvs/gnome/libsoup/libsoup/soup-xmlrpc-response.c,v
retrieving revision 1.4
diff -u -p -r1.4 soup-xmlrpc-response.c
--- libsoup/soup-xmlrpc-response.c	7 Jun 2006 19:42:21 -0000	1.4
+++ libsoup/soup-xmlrpc-response.c	7 Jun 2006 23:21:06 -0000
@@ -238,7 +238,7 @@ soup_xmlrpc_value_get_int (SoupXmlrpcVal
 {
 	xmlNode *xml;
 	xmlChar *content;
-	char *tail;
+	char *tail = NULL;
 
 	xml = (xmlNode *) value;
 
@@ -253,7 +253,7 @@ soup_xmlrpc_value_get_int (SoupXmlrpcVal
 	*i = strtol ((char *)content, &tail, 10);
 	xmlFree (content);
 
-	if (tail != '\0')
+	if (tail && *tail != '\0')
 		return FALSE;
 	else
 		return TRUE;
