Finished project self-review changes.

This commit is contained in:
Juan Carlos Luciani
2006-12-08 10:26:52 +00:00
parent 8ade751650
commit 245d0fe0bf
6 changed files with 22 additions and 4 deletions

View File

@@ -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.