posix: fixed lib/platform/sockets/tcp.h compilation and some bugs. added CTcpSocket...
[deb_libcec.git] / src / lib / platform / posix / os-socket.h
index a57f69d21d449103b49b40b8c25ed81c74fc8bb5..9d557c1b4583a9bc631642f60e38036910f04cef 100644 (file)
@@ -64,7 +64,7 @@ namespace PLATFORM
     }
 
     int64_t iBytesWritten = 0;
-    struct timeval *tv;
+    struct timeval *tv(NULL);
 
     while (iBytesWritten < len)
     {