Commit da36bcaa authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#2006] Add init is_rec variable in ManagerImpl

parent f5d7b28c
......@@ -57,7 +57,7 @@ void AudioZrtpSession::initializeZid (void)
_debug(" xdg_config %s\n", xdg_config.c_str());
if (XDG_CACHE_HOME != NULL) {
std::string xdg_env = std::string (XDG_CACHE_HOME);
std::string xdg_env = std::string (XDG_CACHE_HOME) + _zidFilename;
_debug(" xdg_env %s\n", xdg_env.c_str());
(xdg_env.length() > 0) ? zidCompleteFilename = xdg_env : zidCompleteFilename = xdg_config;
} else
......
......@@ -613,6 +613,7 @@ ManagerImpl::offHoldCall (const CallID& call_id)
bool returnValue, is_rec;
std::string codecName;
is_rec = false;
_debug ("ManagerImpl::offHoldCall(%s)\n", call_id.c_str());
......@@ -2194,8 +2195,6 @@ ManagerImpl::createSettingsPath (void)
xdg_config = std::string (HOMEDIR) + DIR_SEPARATOR_STR + ".config" + DIR_SEPARATOR_STR + PROGDIR;
//_path = std::string (HOMEDIR) + DIR_SEPARATOR_STR + "." + PROGDIR;
if (XDG_CONFIG_HOME != NULL) {
xdg_env = std::string (XDG_CONFIG_HOME);
(xdg_env.length() > 0) ? _path = xdg_env
......@@ -2507,6 +2506,7 @@ ManagerImpl::getCurrentCodecName (const CallID& id)
VoIPLink* link = getAccountLink (accountid);
Call* call = link->getCall(id);
if(call->getState() != Call::Active)
return "";
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment