summaryrefslogtreecommitdiff
path: root/src/info_console.cc
diff options
context:
space:
mode:
authordeva <deva>2005-06-09 11:00:03 +0000
committerdeva <deva>2005-06-09 11:00:03 +0000
commit4bede1d02de893b450f5eb581aa0a384246c162d (patch)
treec4863551b362fe1949642f70c08df46fc68d1119 /src/info_console.cc
parent64efd74ecfa761c83b70ec2374bf448b6e42e254 (diff)
Added daemon code, and cleaned up using -Wall and -Werror
Diffstat (limited to 'src/info_console.cc')
-rw-r--r--src/info_console.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/info_console.cc b/src/info_console.cc
index 6acfd4f..a0ca236 100644
--- a/src/info_console.cc
+++ b/src/info_console.cc
@@ -41,10 +41,12 @@
InfoConsole::InfoConsole(): Info()
{
+ pthread_mutex_init (&mutex, NULL);
}
InfoConsole::~InfoConsole()
{
+ pthread_mutex_destroy(&mutex);
}
void InfoConsole::error(char *fmt, ...)