Make JsURI URI value available: properly call JsObject constructor.
git-svn-id: http://voip.null.ro/svn/yate@6398 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
700b3b1036
commit
7da6684a2a
|
@ -343,7 +343,7 @@ public:
|
||||||
params().addParam(new ExpFunction("getCanonical"));
|
params().addParam(new ExpFunction("getCanonical"));
|
||||||
}
|
}
|
||||||
inline JsURI(const char* str, Mutex* mtx)
|
inline JsURI(const char* str, Mutex* mtx)
|
||||||
: JsObject(mtx,"[object URI]",false),
|
: JsObject(mtx,str,false),
|
||||||
m_uri(str)
|
m_uri(str)
|
||||||
{
|
{
|
||||||
XDebug(DebugAll,"JsURI::JsURI('%s') [%p]",str,this);
|
XDebug(DebugAll,"JsURI::JsURI('%s') [%p]",str,this);
|
||||||
|
|
Loading…
Reference in New Issue