[Box Backup-dev] COMMIT r451 - box/chris/win32/vc2005-compile-fixes/bin/bbackupquery

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun Feb 12 20:15:44 GMT 2006


Author: chris
Date: 2006-02-12 20:15:37 +0000 (Sun, 12 Feb 2006)
New Revision: 451

Modified:
   box/chris/win32/vc2005-compile-fixes/bin/bbackupquery/BackupQueries.cpp
Log:
* BackupQueries.cpp
- Unix compile fixes


Modified: box/chris/win32/vc2005-compile-fixes/bin/bbackupquery/BackupQueries.cpp
===================================================================
--- box/chris/win32/vc2005-compile-fixes/bin/bbackupquery/BackupQueries.cpp	2006-02-12 16:04:57 UTC (rev 450)
+++ box/chris/win32/vc2005-compile-fixes/bin/bbackupquery/BackupQueries.cpp	2006-02-12 20:15:37 UTC (rev 451)
@@ -337,7 +337,7 @@
 		if(!ConvertConsoleToUtf8(args[0].c_str(), storeDirEncoded))
 			return;
 #else
-		const std::string& storeDirEncoded(rStoreDir);
+		const std::string& storeDirEncoded(args[0]);
 #endif
 	
 		// Attempt to find the directory
@@ -693,7 +693,7 @@
 	std::string dirName;
 	if(!ConvertConsoleToUtf8(args[0].c_str(), dirName)) return;
 #else
-	std::string& dirName(args[0]);
+	const std::string& dirName(args[0]);
 #endif
 	
 	std::vector<std::pair<std::string, int64_t> > newStack;
@@ -1844,7 +1844,7 @@
 	std::string storeDirEncoded;
 	if(!ConvertConsoleToUtf8(args[0].c_str(), storeDirEncoded)) return;
 #else
-	const std::string& storeDirEncoded(rStoreDir);
+	const std::string& storeDirEncoded(args[0]);
 #endif
 	
 	// Get directory ID




More information about the Boxbackup-dev mailing list