Merged 1018:23aee7da04e0 from default branch: C++-style comment fixes.

This commit is contained in:
Ryan C. Gordon 2010-01-28 02:45:58 -05:00
parent c973e5a46b
commit 8ff89ca115
1 changed files with 2 additions and 2 deletions

View File

@ -156,14 +156,14 @@ static void serve_http_request(int sock, struct sockaddr *addr,
{
printf("out of memory.\n");
return;
} // if
} /* if */
args->addr = (struct sockaddr *) malloc(addrlen);
if (args->addr == NULL)
{
free(args);
printf("out of memory.\n");
return;
} // if
} /* if */
args->sock = sock;
args->addrlen = addrlen;