Finished project self-review changes.
This commit is contained in:
@@ -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