Core/Rpc: Finished

git-svn-id: svn://ultimatepp.org/upp/trunk@5168 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-07-10 13:47:33 +00:00
commit 5d13f36f14
3 changed files with 14 additions and 10 deletions

View file

@ -41,7 +41,7 @@ void ValueGet(int& n, const Value& v)
void ValueGet(String& s, const Value& v)
{
ValueCheck(IsNull(v) || IsString(s));
ValueCheck(IsNull(v) || IsString(v));
s = v;
}
@ -53,7 +53,7 @@ void ValueGet(double& x, const Value& v)
void ValueGet(bool& x, const Value& v)
{
ValueCheck(IsNull(v) || IsNumber(x));
ValueCheck(IsNull(v) || IsNumber(v));
x = v;
}
@ -67,7 +67,6 @@ Time IsoTime(const Value& v)
void ValueGet(Date& x, const Value& v)
{
DDUMP(v);
if(IsString(v)) {
x = IsoTime(v);
return;