Minor problems exposed by VC++
git-svn-id: http://yate.null.ro/svn/yate/trunk@425 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
be59653ab3
commit
7921b4dc9f
|
@ -837,7 +837,7 @@ bool Router::route()
|
||||||
DDebug(m_driver,DebugAll,"Routing thread for '%s' [%p]",m_id.c_str(),this);
|
DDebug(m_driver,DebugAll,"Routing thread for '%s' [%p]",m_id.c_str(),this);
|
||||||
|
|
||||||
String tmp(m_msg->getValue("callto"));
|
String tmp(m_msg->getValue("callto"));
|
||||||
bool ok = tmp;
|
bool ok = !tmp.null();
|
||||||
if (ok)
|
if (ok)
|
||||||
m_msg->retValue() = tmp;
|
m_msg->retValue() = tmp;
|
||||||
else
|
else
|
||||||
|
|
|
@ -626,7 +626,7 @@ bool Engine::loadPlugin(const char* file)
|
||||||
bool Engine::loadPluginDir(const String& relPath)
|
bool Engine::loadPluginDir(const String& relPath)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
Debugger debug("Engine::loadPluginDir('%s')",path.c_str());
|
Debugger debug("Engine::loadPluginDir('%s')",relPath.c_str());
|
||||||
#endif
|
#endif
|
||||||
bool defload = s_cfg.getBoolValue("general","modload",true);
|
bool defload = s_cfg.getBoolValue("general","modload",true);
|
||||||
String path = s_modpath;
|
String path = s_modpath;
|
||||||
|
|
Loading…
Reference in New Issue