XmlRpc nil (again)

git-svn-id: svn://ultimatepp.org/upp/trunk@2001 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-02-01 10:15:14 +00:00
parent abbd1a68b9
commit 80e72febac

View file

@ -95,7 +95,7 @@ ValueArray ParseXmlRpcParams(XmlParser& p)
String FormatXmlRpcValue(const Value& v)
{
String r;
if(v.GetType() == VOID_V)
if(IsNull(v) && !IsString(v))
r = XmlTag("nil")();
else
if(v.GetType() == INT_V)