[Box Backup-commit] COMMIT r1550 - box/chris/merge/bin/bbackupd

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun Apr 22 15:08:14 BST 2007


Author: chris
Date: 2007-04-22 15:08:13 +0100 (Sun, 22 Apr 2007)
New Revision: 1550

Modified:
   box/chris/merge/bin/bbackupd/BackupDaemon.cpp
Log:
Log event name instead of numeric code. (refs #3)


Modified: box/chris/merge/bin/bbackupd/BackupDaemon.cpp
===================================================================
--- box/chris/merge/bin/bbackupd/BackupDaemon.cpp	2007-04-22 14:07:11 UTC (rev 1549)
+++ box/chris/merge/bin/bbackupd/BackupDaemon.cpp	2007-04-22 14:08:13 UTC (rev 1550)
@@ -1141,7 +1141,7 @@
 		std::string line;
 		if(getLine.GetLine(line, true, 30000)) // 30 seconds should be enough
 		{
-			// Got a string, intepret
+			// Got a string, interpret
 			if(line == "now")
 			{
 				// Script says do it now. Obey.
@@ -2201,7 +2201,8 @@
 		0
 	};
 
-	BOX_TRACE("BackupDaemon::NotifySysadmin() called, event = " << Event);
+	BOX_TRACE("BackupDaemon::NotifySysadmin() called, event = " << 
+		sEventNames[Event]);
 
 	if(Event < 0 || Event >= NotifyEvent__MAX)
 	{




More information about the Boxbackup-commit mailing list