[Box Backup-commit] COMMIT r1298 - box/chris/general/bin/bbackupd

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Wed, 21 Feb 2007 00:17:14 +0000


Author: chris
Date: 2007-02-21 00:17:14 +0000 (Wed, 21 Feb 2007)
New Revision: 1298

Modified:
   box/chris/general/bin/bbackupd/BackupDaemon.cpp
Log:
Fix calls to GetLastError()


Modified: box/chris/general/bin/bbackupd/BackupDaemon.cpp
===================================================================
--- box/chris/general/bin/bbackupd/BackupDaemon.cpp	2007-02-21 00:16:13 UTC (rev 1297)
+++ box/chris/general/bin/bbackupd/BackupDaemon.cpp	2007-02-21 00:17:14 UTC (rev 1298)
@@ -130,7 +130,7 @@
 	if(mhMessageToSendEvent == INVALID_HANDLE_VALUE)
 	{
 		BOX_ERROR("Failed to create event object: error " <<
-			GetLastError);
+			GetLastError());
 		exit(1);
 	}
 
@@ -140,7 +140,7 @@
 	if(mhCommandReceivedEvent == INVALID_HANDLE_VALUE)
 	{
 		BOX_ERROR("Failed to create event object: error " <<
-			GetLastError);
+			GetLastError());
 		exit(1);
 	}