Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merged 1018:23aee7da04e0 from default branch: C++-style comment fixes.
  • Loading branch information
icculus committed Jan 28, 2010
1 parent c973e5a commit 8ff89ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extras/physfshttpd.c
Expand Up @@ -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;
Expand Down

0 comments on commit 8ff89ca

Please sign in to comment.