diff options
Diffstat (limited to 'client/cprlisten.cc')
-rw-r--r-- | client/cprlisten.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/cprlisten.cc b/client/cprlisten.cc index 4c1272e..035269a 100644 --- a/client/cprlisten.cc +++ b/client/cprlisten.cc @@ -56,13 +56,13 @@ void CPRListen::stop() socket.connect("localhost", port); socket.send_string(MAGIC_STOP_STRING); } catch(Network_error &e) { - gInfo::info->error("In stop(): %s.", e.error.c_str()); + MIaV::info->error("In stop(): %s.", e.error.c_str()); } } void CPRListen::thread_main() { - gInfo::info->log("Listening for CPRs."); + MIaV::info->log("Listening for CPRs."); while(running) { try { string newcpr; @@ -77,15 +77,15 @@ void CPRListen::thread_main() cprchanged = true; cpr = newcpr; mutex.unlock(); - gInfo::info->log("Got CPR: %s.", cpr.c_str()); + MIaV::info->log("Got CPR: %s.", cpr.c_str()); } } catch(Network_error &e) { - gInfo::info->error("In thread_main(): %s.", e.error.c_str()); + MIaV::info->error("In thread_main(): %s.", e.error.c_str()); running = false; } } - gInfo::info->log("Stopped listening for CPRs."); + MIaV::info->log("Stopped listening for CPRs."); } bool CPRListen::cprChanged() |