[Box Backup-commit] COMMIT r967 - box/chris/general/lib/win32

subversion at fluffy.co.uk subversion at fluffy.co.uk
Fri Sep 8 22:20:37 BST 2006


Author: chris
Date: 2006-09-08 22:20:36 +0100 (Fri, 08 Sep 2006)
New Revision: 967

Modified:
   box/chris/general/lib/win32/emu.cpp
Log:
Fix accidental assignment to function


Modified: box/chris/general/lib/win32/emu.cpp
===================================================================
--- box/chris/general/lib/win32/emu.cpp	2006-09-04 00:10:38 UTC (rev 966)
+++ box/chris/general/lib/win32/emu.cpp	2006-09-08 21:20:36 UTC (rev 967)
@@ -551,7 +551,7 @@
 
 	if (hdir == INVALID_HANDLE_VALUE)
 	{
-		if (GetLastError() = ERROR_INVALID_NAME)
+		if (GetLastError() == ERROR_INVALID_NAME)
 		{
 			::syslog(LOG_WARNING, "Failed to open file '%s': "
 				"invalid file name", pFileName);




More information about the Boxbackup-commit mailing list