Finished project self-review changes.
This commit is contained in:
@@ -625,7 +625,7 @@ CChannel::connectionThread(
|
||||
// Free SmartCChannel
|
||||
delete pSmartCChannel;
|
||||
|
||||
DbgTrace(0, "CChannel::connectionThread- End\n", 0);
|
||||
DbgTrace(1, "CChannel::connectionThread- End\n", 0);
|
||||
|
||||
// Exit
|
||||
pthread_exit(NULL);
|
||||
|
||||
@@ -81,7 +81,7 @@ RemoteEndPoint::RemoteEndPoint(
|
||||
DbgTrace(1, "RemoteEndPoint::RemoteEndPoint- Start, Obj = %0X\n", this);
|
||||
|
||||
// Verify that the specified path is not too long
|
||||
if (strlen(pSocketFileName) < sizeof(sizeof(m_serverUnAddr.sun_path)))
|
||||
if (strlen(pSocketFileName) < sizeof(m_serverUnAddr.sun_path))
|
||||
{
|
||||
// Initialize our mutex
|
||||
pthread_mutex_init(&m_mutex, NULL);
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
//===[ Include files ]=====================================================
|
||||
|
||||
#define __STDC_LIMIT_MACROS
|
||||
#include "ipcint.h"
|
||||
|
||||
//===[ External data ]=====================================================
|
||||
|
||||
@@ -437,7 +437,7 @@ BindSocket(int socketToBind)
|
||||
unlink(listenSocketFile);
|
||||
|
||||
// Verify that the specified path is not too long
|
||||
if (strlen(listenSocketFile) < sizeof(sizeof(listenAddr.sun_path)))
|
||||
if (strlen(listenSocketFile) < sizeof(listenAddr.sun_path))
|
||||
{
|
||||
// Setup the address that the daemon will use to listen
|
||||
// for connections.
|
||||
|
||||
Reference in New Issue
Block a user