summaryrefslogtreecommitdiff
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
authordeva <deva>2005-06-19 11:44:14 +0000
committerdeva <deva>2005-06-19 11:44:14 +0000
commit52fd913be8b044f1d064973c53b4467e5bd153fe (patch)
tree807ac3d85c9af0fe81bd88c22f6fe32c3c7af25b /src/mainwindow.cc
parent60053525996c751ea9cdeddebbea8fa98e0c23a3 (diff)
Cleaned up a log of logging.
Fixed server queue (shouldn't happen). Added user and group lookup.
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 0b1343e..3b8ca74 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -31,6 +31,11 @@
/*
* $Log$
+ * Revision 1.34 2005/06/19 11:44:14 deva
+ * Cleaned up a log of logging.
+ * Fixed server queue (shouldn't happen).
+ * Added user and group lookup.
+ *
* Revision 1.33 2005/06/16 21:28:57 deva
* Rewrote thread object
* Fixed bug in mov_encoder (pushed read_sem too many times, whihc lead to
@@ -345,11 +350,11 @@ void MainWindow::taskbar_update()
s = time.tv_sec - starttime.tv_sec;
h = s / (60 * 60);
- s -= h * (60 *60);
+ s -= h * (60 * 60);
m = s / 60;
s -= m * 60;
} else {
- if((camera->getQueueLength() > 0) && (watchdog % 50 == 0))
+ if((camera->getQueueLength() > 0) && (watchdog % 300 == 0))
info->log("Queue length: %d (passive)", camera->getQueueLength());
gettimeofday(&starttime, NULL);
}