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:
parent
f6ff2f161e
commit
b3b7e83d00
|
@ -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,
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue