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:
paulc 2005-07-03 10:51:19 +00:00
parent be59653ab3
commit 7921b4dc9f
2 changed files with 2 additions and 2 deletions

View File

@ -837,7 +837,7 @@ bool Router::route()
DDebug(m_driver,DebugAll,"Routing thread for '%s' [%p]",m_id.c_str(),this);
String tmp(m_msg->getValue("callto"));
bool ok = tmp;
bool ok = !tmp.null();
if (ok)
m_msg->retValue() = tmp;
else

View File

@ -626,7 +626,7 @@ bool Engine::loadPlugin(const char* file)
bool Engine::loadPluginDir(const String& relPath)
{
#ifdef DEBUG
Debugger debug("Engine::loadPluginDir('%s')",path.c_str());
Debugger debug("Engine::loadPluginDir('%s')",relPath.c_str());
#endif
bool defload = s_cfg.getBoolValue("general","modload",true);
String path = s_modpath;