Commit 1bb41f9b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a missing derefence.

parent 43512331
......@@ -1078,7 +1078,7 @@ cmd_http_accept(CMD_ARGS)
CAST_OBJ_NOTNULL(hp, priv, HTTP_MAGIC);
AZ(av[1]);
assert(hp->sfd != NULL);
assert(hp->sfd >= 0);
assert(*hp->sfd >= 0);
VTCP_close(&hp->fd);
vtc_log(vl, 4, "Accepting");
hp->fd = accept(*hp->sfd, NULL, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment