#include <config.h>
#include "CommunicationProtocolRSH.hxx"
+#include "Log.hxx"
using namespace std;
newdir[0] = driveLetter;
newdir[1] = ':';
newdir[2] = '\0';
- cout << "Changing directory: " << newdir << endl;
+ LOG("Changing directory: " << newdir);
_chdir(newdir);
}
// Go back to previous directory if necessary
if (driveLetter != '\0' && driveLetter != currentDrive) {
- cout << "Changing directory: " << cwd << endl;
+ LOG("Changing directory: " << cwd);
_chdir(cwd);
}