diff options
author | Drew Richardson <drew.richardson@arm.com> | 2013-10-23 12:00:00 -0700 |
---|---|---|
committer | Drew Richardson <drew.richardson@arm.com> | 2014-12-19 15:46:30 -0800 |
commit | df48c99f8da89ef9a91fac638b8e0528507bd088 (patch) | |
tree | 28fe6a9ff0438f349987df531cf5c779320b1a38 /daemon/StreamlineSetup.cpp | |
parent | febe35e3fa5d8ac027b914f14991c95846f49251 (diff) |
gator: Version 5.165.16
Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Diffstat (limited to 'daemon/StreamlineSetup.cpp')
-rw-r--r-- | daemon/StreamlineSetup.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/daemon/StreamlineSetup.cpp b/daemon/StreamlineSetup.cpp index e196a7d..2faada2 100644 --- a/daemon/StreamlineSetup.cpp +++ b/daemon/StreamlineSetup.cpp @@ -255,12 +255,7 @@ void StreamlineSetup::sendCounters() { void StreamlineSetup::writeConfiguration(char* xml) { char path[PATH_MAX]; - if (gSessionData->mConfigurationXMLPath) { - strncpy(path, gSessionData->mConfigurationXMLPath, PATH_MAX); - } else { - util->getApplicationFullPath(path, PATH_MAX); - strncat(path, "configuration.xml", PATH_MAX - strlen(path) - 1); - } + ConfigurationXML::getPath(path); if (util->writeToDisk(path, xml) < 0) { logg->logError(__FILE__, __LINE__, "Error writing %s\nPlease verify write permissions to this path.", path); |