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:
marian 2020-04-14 05:58:16 +00:00
parent 700b3b1036
commit 7da6684a2a
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ public:
params().addParam(new ExpFunction("getCanonical"));
}
inline JsURI(const char* str, Mutex* mtx)
: JsObject(mtx,"[object URI]",false),
: JsObject(mtx,str,false),
m_uri(str)
{
XDebug(DebugAll,"JsURI::JsURI('%s') [%p]",str,this);