2010-11-17 Ramon Novoa <rnovoa@artica.es>

* pandora_windows_service.cc: Fixed a typo in copyScpDataFile that made
	  it always return PANDORA_EXCEPTION.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-11-17 19:22:04 +00:00
parent f6ff2f161e
commit b3b7e83d00
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-11-17 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Fixed a typo in copyScpDataFile that made
it always return PANDORA_EXCEPTION.
2010-11-15 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc,

View File

@ -344,7 +344,7 @@ Pandora_Windows_Service::copyScpDataFile (string host,
rc = ssh_client.scpFileFilename (remote_path + filename,
filepath);
if (rc = PANDORA_EXCEPTION) {
if (rc == PANDORA_EXCEPTION) {
pandoraLog ("Unable to copy at %s%s", remote_path.c_str (),
filename.c_str ());
ssh_client.disconnect();