summaryrefslogtreecommitdiff
path: root/src/cprlisten.cc
diff options
context:
space:
mode:
authordeva <deva>2006-01-10 11:24:31 +0000
committerdeva <deva>2006-01-10 11:24:31 +0000
commit71c713dce2b5128862b293aa7fcc1d7ee89ffaf1 (patch)
tree6354103c5d66bbbe6f3a0eda28d908f380c7c63a /src/cprlisten.cc
parentcbe575f21ab008182b5771b691ec4c93c5b2b87a (diff)
*** empty log message ***
Diffstat (limited to 'src/cprlisten.cc')
-rw-r--r--src/cprlisten.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cprlisten.cc b/src/cprlisten.cc
index 62deede..0a4958e 100644
--- a/src/cprlisten.cc
+++ b/src/cprlisten.cc
@@ -55,13 +55,13 @@ void CPRListen::stop()
socket.connect("localhost", port);
socket.send_string(MAGIC_STOP_STRING);
} catch(Network_error &e) {
- info.error("In stop(): %s.", e.error.c_str());
+ info->error("In stop(): %s.", e.error.c_str());
}
}
void CPRListen::thread_main()
{
- info.info("Listening for CPRs.");
+ info->log("Listening for CPRs.");
while(running) {
try {
string newcpr;
@@ -76,15 +76,15 @@ void CPRListen::thread_main()
cprchanged = true;
cpr = newcpr;
mutex.unlock();
- info.info("Got CPR: %s.", cpr.c_str());
+ info->log("Got CPR: %s.", cpr.c_str());
}
} catch(Network_error &e) {
- info.error("In thread_main(): %s.", e.error.c_str());
+ info->error("In thread_main(): %s.", e.error.c_str());
running = false;
}
}
- info.info("Stopped listening for CPRs.");
+ info->log("Stopped listening for CPRs.");
}
bool CPRListen::cprChanged()