Nginx: hijack `shutdown`.

Fix typo in previous commit.
dev
whl739 2018-06-21 17:25:56 +08:00
parent a29bb116db
commit 524e801cfb
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ shutdown(int sockfd, int how)
{
if(is_fstack_fd(sockfd)){
sockfd = restore_fstack_fd(sockfd);
return ff_close(sockfd);
return ff_shutdown(sockfd, how);
}
return SYSCALL(shutdown)(sockfd, how);