posix: fixed lib/platform/sockets/tcp.h compilation and some bugs. added CTcpSocket...
[deb_libcec.git] / src / lib / platform / posix / serialport.cpp
index 71405d474c3a6734a80095705aad3d4f57982dc0..7af3d0e822a4bb8adf3a6988a193c87fe96f5a77 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the libCEC(R) library.
  *
- * libCEC(R) is Copyright (C) 2011 Pulse-Eight Limited.  All rights reserved.
+ * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited.  All rights reserved.
  * libCEC(R) is an original work, containing original code.
  *
  * libCEC(R) is a trademark of Pulse-Eight Limited.
@@ -52,13 +52,13 @@ using namespace PLATFORM;
 
 CSerialPort::CSerialPort()
 {
-  m_tostdout = false;
+  m_bToStdOut = false;
 }
 
 //setting all this stuff up is a pain in the ass
 bool CSerialPort::Open(string name, uint32_t baudrate, uint8_t databits /* = 8 */, uint8_t stopbits /* = 1 */, uint8_t parity /* = PAR_NONE */)
 {
-  m_name = name;
+  m_strName = name;
   CLockObject lock(m_mutex);
 
   if (databits < 5 || databits > 8)