diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-04-22 14:08:13 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-04-22 14:08:13 +0000 |
commit | 2e03b1d1953de02562b2b0512329c13f7639e27e (patch) | |
tree | 6add2dc652234fd6081b5cbf9d3cbc644738684f | |
parent | 463869e7b27285be03d20262f4b877848ba10927 (diff) |
Log event name instead of numeric code. (refs #3)
-rw-r--r-- | bin/bbackupd/BackupDaemon.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp index 9789558f..825254d9 100644 --- a/bin/bbackupd/BackupDaemon.cpp +++ b/bin/bbackupd/BackupDaemon.cpp @@ -1141,7 +1141,7 @@ int BackupDaemon::UseScriptToSeeIfSyncAllowed() 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 @@ void BackupDaemon::NotifySysadmin(int Event) 0 }; - BOX_TRACE("BackupDaemon::NotifySysadmin() called, event = " << Event); + BOX_TRACE("BackupDaemon::NotifySysadmin() called, event = " << + sEventNames[Event]); if(Event < 0 || Event >= NotifyEvent__MAX) { |